Is nhsid_useruid guaranteed to be returned from a userinfo request? Is there any documentation for the response from this API endpoint?
Thanks
Is nhsid_useruid guaranteed to be returned from a userinfo request? Is there any documentation for the response from this API endpoint?
Thanks
Hi @sam.carter this documentation (linked below) should assist with your query. Do reply again if you have further questions.
4. Scopes and claims - NHS England Digital
Hi Sam, the response is defined by the OIDC specification and isn’t part of the normal API documentation - as such the content will depend on the scopes provided - if the nhsperson scope is given during the authenticate call, then the response will always have the nhsid_userid claim as detailed in the link shared by Jenna
Ok, thanks for the responses both.