Skip to content

Conversation

DavidMuller
Copy link

This pull request adds the attribute skip_authorization_completely to the AuthorizationView class. skip_authorization_completely defaults to False. However, if skip_authorization_completely is True, the authorization page is skipped and a token is immediately granted/returned.

For example the following url would always skip the authorization page whenever granting tokens to users:

url(r'^o/authorize_skip_authorization_page/$', AuthorizationView.as_view(skip_authorization_completely=True), name="no_authorization_page"),

This PR includes a new test in test_implicit.py for this behavior.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) when pulling c9ee4a1 on DavidMuller:configurable_authorization_page_implicit_grant into 5ed4f50 on evonove:master.

@AduchiMergen
Copy link

👍 please merge this

@masci masci added this to the 0.8.0 milestone Dec 15, 2014
@masci
Copy link
Contributor

masci commented Jan 7, 2015

Moved the skip_authorization flag to Application model, your code was merged

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.

4 participants