-
Notifications
You must be signed in to change notification settings - Fork 606
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
Include client ID in Oauth2 Password Grant #2281
Comments
This is an older question, but for anyone who stumbles across this through Google I felt like it's good to note here. Apparently this isn't documented anywhere (correct me if I'm wrong). I was able to find through the code that the client_id can be set in your authenticator, like this: import OAuth2PasswordGrant from 'ember-simple-auth/authenticators/oauth2-password-grant';
export default OAuth2PasswordGrant.extend({
serverTokenEndpoint: '<endpoint url>',
clientId: '<client id>'
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We are using ember-simple-auth for quite some time combined with doorkeeper for the authentication in our rails API. Now doorkeeper recently changed some things and now we are required to send an
client_id
when using the Resource Owner Password Grant.We use the
OAuth2PasswordGrantAuthenticator
, but as far as I see we can only send the identification and the password. Is it possible to add the client id?I hope I explained it well enough, please let me know if I have to clearify something
The text was updated successfully, but these errors were encountered: