-
Notifications
You must be signed in to change notification settings - Fork 567
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
Why does ClientInfo carry a User ID? #229
Comments
This used by OpenID Connect to identify the logged in user. For client credentials this will not be filled out naturally, but with auth code with pkce flow, the user id will be the logged in user. Either via the AS internal authentication mechanisms (if one chooses to add that) or from some other identity provider. One identity provider might ask the user the authorise towards a different identity provider to obtain a valid logged in state for the authorisation to complete. |
related to #224 |
Thanks, @jarlandre! Sounds like it might be something I'll have to dig into further, as I'm using the auth code with PKCE flow. |
can we document this? |
Looking at the
ClientInfo
interface, there's aGetUserID()
method. How could that be populated after a call toClientStore.GetByID
? I'm not 100% certain how all of this ties together but it seems impossible to pick one specific user based on only a Client's ID.Maybe at least this specific property could be the first target for #228? :)
The text was updated successfully, but these errors were encountered: