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

Login with password grant using /oauth/token endpoint #42

Merged
merged 2 commits into from
Nov 30, 2016

Conversation

lbalmaceda
Copy link
Contributor

@lbalmaceda lbalmaceda commented Nov 24, 2016

Allow to log in with Resource Owner using /oauth/token endpoint.

Usage:

AuthenticationAPIClient client = new AuthenticationAPIClient(getAccount());
client.login("username", "password")
    .setAudience("https://domain.auth0.com/my/api")
    .setScope("profile friends:email")
    .start(callback);  //Callback will receive `Credentials` on success.

@lbalmaceda lbalmaceda changed the title Grant type password Login with Resource Owner and /oauth/token endpoint Nov 24, 2016
@lbalmaceda lbalmaceda force-pushed the grant-type-password branch 2 times, most recently from 14d8a38 to 7622152 Compare November 25, 2016 18:01
@hzalaz hzalaz added this to the 1.2.0 milestone Nov 25, 2016
@hzalaz hzalaz changed the title Login with Resource Owner and /oauth/token endpoint Login with password grant using /oauth/token endpoint Nov 30, 2016
@hzalaz hzalaz force-pushed the grant-type-password branch from 1bfc38d to cdb399f Compare November 30, 2016 00:18
@hzalaz hzalaz merged commit 1feaf0e into master Nov 30, 2016
@hzalaz hzalaz deleted the grant-type-password branch November 30, 2016 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants