Skip to content

Conversation

@timkurvers
Copy link
Contributor

Although not a preferred OAuth or OpenID flow, the resource owner credentials grant allows retrieving a token via credentials without user interaction (e.g. opening up a browser window with the identity provider's log in page).

As such it can be used to validate credentials with the identity provider:

token = OpenIDTokenProxy.client.retrieve_token!(
  username: 'foo',
  password: 'bar'
)
token.validate!

timkurvers added a commit that referenced this pull request Jun 17, 2015
@timkurvers timkurvers merged commit e53c782 into master Jun 17, 2015
@timkurvers timkurvers deleted the feature/token-via-credentials branch June 17, 2015 18:49
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.

2 participants