-
Notifications
You must be signed in to change notification settings - Fork 43
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
givenName and familyName not being updated on PATCH requests #123
Comments
Hi @pond, do you have any idea on what is going on here? Are you able to replicate the issue? |
Sorry for the delay @eduardoborba - super busy in the day job and this is now a one-man-band for maintenance and development sadly so it doesn't get the attention it should. I'll look into this as soon as I can, you're not being ignored and you've not been forgotten; sorry again for the length of time it's taken to even send this response, though. |
@eduardoborba - a question; are you able to modify that payload? The specific issue is the dotted notation inside the attributes within the For the syntax of The path is optional for ...says:
...which does not appear to permit a JSON object where relative attribute paths are specified; just sub-attributes of a given |
@pond That's the payload we are getting from Azure, we don't really control that. This is what our attributes mapping looks like on the Azure provisioning settings: Let me know if you have any suggestions to fix that by changing the mapping. |
I've spent an unhealthy amount of time ploughing through mile after mile over blustering, exceptionally over-complex documentation from Microsoft, all of which seems to totally miss the point and none of which includes any screenshots matching what you have above LOL. Unusually it's not a lack of documentation this time, but a totally overwhelming amount of documentation - but all of it seems very similar and there is no clear steer on which bit of it is relevant at any given time. The closest thing to useful that I could find is, of course, not from Microsoft, but this document: ...which does show things like This basically seems to mean that I somehow have to implement the nightmare of arbitrary paths inside already-extremely-awkward PATCH requests. What I don't understand is why you're seeing this and nobody else is. We've had bug reports from the MS SCIM validator, and once fixed people have seemed happy. Perhaps they just gave up on Scimitar for Azure AD, or perhaps they got it to work - but in that case, why is your situation different? There's just no way I can devote the time to trying to understand the overwhelming mess of Microsoft's Azure-now-Entra to try and work that out. |
Well, I think #125 should do it - under internal review now. |
@eduardoborba Please could you give https://rubygems.org/gems/scimitar/versions/2.7.3 a try? I suspect we might need more than one iteration on this, but it'd be good to see if it at least moves things forward. Thanks! |
Hey @pond, Really appreciate the effort. I'm going to test that later today and will let you know. |
@pond it's working perfectly now, thank you very much! Feel free to close this issue :) |
Fantastic news! Thanks for the detailed bug report and I'm glad that it's working. |
I'm having this issue while testing the provisioning from Azure where the givenName and the familyName are not being stored in the database correctly. This is what my mapping looks like:
This is what the Azure request looks like:
Expected output:
Store the givenName in the column
first_name
and the familyName in thelast_name
column.Actual output:
Those are attributes are not being stored at all on PATCH requests.
Additional info:
On create requests, those fields are properly populated though, so the mapping is correct. It must be something on the
from_scim_patch!
method.The text was updated successfully, but these errors were encountered: