Comments (3)
Hi,
Seems OCI requires primary to be set on one of the email addresses.
You must then include {"primary":true}
If you are calling your pluging-scim as standard inbound, the create user POST body should include:
{..., "emails":[{"primary":true,"type":"work","value":"[email protected]"}]}
This will be found in log info message Inbound = xxx
If you are calling createUser method internally, you should use:
userObj={...,"emails":{"work":{"primary":true,"type":"work","value":"[email protected]"}}}
Another thing, and maybe the problem here, is that plugin-scim only accepts {"type":"work"}
You may have to change this behavior.
Regards,
Jarle
from scimgateway.
Hi @jelhub
Thanks for the response.
Yes OCI requires primary to be set on the email address.
I'm calling plugin-ldap to read users/groups from on-prem AD ( users/groups are already created on this AD) and then sync to OCI IDCS. Hence not using createUser method as I'm not explicitly creating users using SCIM GW.
I assume I can update the getUsers method to show email as type of 'work' with value in addition primary boolean value as 'true' as shown in below.
"emails": [
{
"value": "[email protected]",
"type": "work",
"primary": true
}
Please let me know your thoughts.
many thanks, shahid
from scimgateway.
plugin-ldap do not hardcode any primary on email retrieved.
type defined in configuration: "mapTo": "emails.work.value"
You either have to update plugin-ldap or the sync logic to include the primary
Jarle
from scimgateway.
Related Issues (20)
- How to limit the attributes in default schema? HOT 2
- Feature request: option to disable ping success logging HOT 2
- Problem with modifyUser when user does not exist HOT 3
- createUser is returning userName instead of id HOT 5
- Cannot distinguish PATCH/add and PUT in modifyGroups HOT 2
- Configurable path for plugin-config.json HOT 2
- Override base URL for metadata.location HOT 3
- Support for PATCH with replace used on an array to set it to empty HOT 2
- 500 with PATCH and no members from Okta HOT 1
- PATCH replace empty members is not calling modifyGroup HOT 5
- Azure Soft Delete (IsSoftDeleted) -> scimgateway.modifyUser() not triggered HOT 7
- createUser error: Cannot read properties of undefined (reading 'value') from plugin-mssql.js HOT 1
- Azure AD -> OpenLDAP - group provisionig fails - "endpointMapper: skipping - no mapping found for attributes: members" HOT 6
- Azure AD -> OpenLDAP - group provisionig fails - "modifyGroup error: only supports modification of members" HOT 3
- Multiple mail aliases wont work HOT 10
- mssql plugin only accepts "work" email type HOT 2
- mssql plugin does not generate value for id HOT 1
- When users do not have other emails on their entra ID, the fix #118 does not work. HOT 2
- When Microsoft Entra ID sends a delete request, SCIM isn't handling it properly. HOT 2
- What's the purpose of the scimdef-v2.js file? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scimgateway.