-
-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom user attribute in User Schema question #767
Comments
Hello, and sorry for my late reply :) It is possible to add custom user attributes in the SCIM project. Below are the steps to add a custom attribute
The response will contain the You can download a working version here :) KR, SID |
Indeed, open the appsettings.json file and edit the connection string. :) |
@simpleidserver Thanks again, everything works as you explained in the scimEF project. If you allow me, I have another important question for me - How to add this new extension user schema (with new custom attribute) without using of any database? Ask that because our service just acts as a proxy and has no its on database and maybe we will have serious misconceptions with the POC project in that. Also, how I can clean the " context.SCIMSchemaLst" and add another one new user schema there? and in this case does not enter in the if (!context.SCIMSchemaLst.Any()) where I have to add my new schema. Thanks for your time again! |
Hello! After working on the deployment of release 5.0.1, I just noticed your message! Sorry for my late reply 😔. Add a New User Schema To add your own custom user schema, you can use the same code provided in my previous post:
This code execute the following actions :
This code can be located outside the Add Extension Schema Without Using Database I don't really understand your question. Can you provide more details about your problem? Kind regards, SID. |
Hello, I have a task to add a custom user attribute in User's Schema in .Net Core provisioning project which we already have, and now we want to extend the User's schema with a custom (not existing in User's list) attribute.
Is that possible at all?
I've read somewhere in the docs, that its possible with adding of additional user's sub schema with this custom attribute in the project (which implements SimpleIdServer), and include this new schema in the main User's Core schema, is that correct?
Now I have to create a simple POC project where I have to prove that this works, so will appreciate if you can you give me some advices how to do that or point me to the proper samples or poc project?
Thanks in advance for your time!
The text was updated successfully, but these errors were encountered: