summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* Rework client authentication in SkeletonValidator for clarityBraedon Vickers2020-01-211-2/+7
| | | | | | | | | | | | | | | | | | | | | SkeletonValidator was seemingly written to not support public clients at all. Its authenticate_client_id() explicitly returned `False`, rather than `pass`-ing like the other methods, and client_authentication_required() was missing entirely (the default implementation always returns `True`). This opinionated approach is confusing, especially when writing an implementation that allows public clients. The comment on the authenticate_client_id() method is particularly confusing. Unlike the comments on other methods, which explain the method, it explains the implementation (returning `False`). As a result, it appears to say the method should return `False` for public clients, when it should actually return `False` for confidential clients (and `True` for valid public clients). To reduce this confusion, include a client_authentication_required() stub, `pass` rather than returning `False` in authenticate_client_id(), and update its comment to describe the method.
* Remove usage of "state" for code/token response.Jonathan Huot2019-02-221-3/+3
|
* Add request argument to confirm_redirect_uri (#504) (#504)Jimmy Thrasibule2018-04-131-1/+1
|
* Convert readthedocs link for their .org -> .io migration for hosted projects ↵Adam Chainz2016-05-311-1/+1
| | | | | | | | | (#427) As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’: > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard. Test Plan: Manually visited all the links I’ve modified.
* send no state in the access token responsegunnar2015-07-031-1/+1
|
* changing server example to reflect changes to request validator in ↵Clint Ecker2013-06-211-3/+5
| | | | 035d46c73ab7feb4719e4642dafc9bb21aa8bd2c
* Remove django+decorator bits of skeleton example.Ib Lundgren2013-05-311-40/+0
|
* Fix extracting of scope values from POSTStéphane Raimbault2013-05-231-1/+1
| | | | Many inputs with same name are stored in a list.
* The argument request is missing in validate_code() in examplesStéphane Raimbault2013-05-231-1/+1
|
* Fix some typoEunchong Yu2013-05-161-3/+3
|
* OAuth 2 skeleton providerIb Lundgren2013-03-261-0/+147