Skip to content
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

Added authenticated_userid to password grant #476

Merged
merged 1 commit into from
Aug 21, 2015
Merged

Added authenticated_userid to password grant #476

merged 1 commit into from
Aug 21, 2015

Conversation

Gingonic
Copy link
Contributor

The password grant did not save the authenticated_userid before (nil). Without this information the resource server will not be able to perform authorization on the user.
I'm pretty sure the client credential grant should also try and save the authenticated_userid if provided, but as I'm not lua guy I would let someone else have a look at that part.

The password grant did not save the authenticated_userid before (nil). Without this information the resource server will not be able to perform authorization on the user. 
I'm pretty sure the client credential grant should also try and save the authenticated_userid  if provided, but as it does not check for I'm not lua guy I would let someone else have a look at that part.
@Gingonic
Copy link
Contributor Author

This actually is a major blocage right now for the usage of the oauth plugin as, as far as I can tell, we cannot pin point the user linked to a request

subnetmarco added a commit that referenced this pull request Aug 21, 2015
…rid_fix

Added authenticated_userid to password grant
@subnetmarco subnetmarco merged commit 906d8cf into Kong:master Aug 21, 2015
@subnetmarco
Copy link
Member

You are correct and it's a bug. Thanks for fixing it.

ctranxuan pushed a commit to streamdataio/kong that referenced this pull request Aug 25, 2015
…_userid_fix

Added authenticated_userid to password grant

Former-commit-id: 73e1f99de1af38455f8dcf26f32ef8d20b066501
@Gingonic Gingonic deleted the feature/oauth_authenticated_userid_fix branch September 21, 2015 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants