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

Ask validator if Client has to be authenticated #208

Merged
merged 3 commits into from
Sep 18, 2013

Conversation

masci
Copy link
Collaborator

@masci masci commented Sep 17, 2013

Just a proof of concept, I tried to uniform the logic for the three grants involved with Client authentication and make it generic enough for final users to decide if and how authenticate Clients through the validator.

'in authenticate_client.')
else:
log.debug('Client authentication disabled, %r.', request)
elif not self.request_validator.authenticate_client_id(request.client_id, request):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice that you added this in there, uncertain why it never got there in the first place. I probably just missed it in the spec.

@ib-lundgren
Copy link
Collaborator

Great work @masci

ib-lundgren added a commit that referenced this pull request Sep 18, 2013
Ask validator if Client has to be authenticated
@ib-lundgren ib-lundgren merged commit c5bcd19 into oauthlib:master Sep 18, 2013
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.

None yet

2 participants