Revision fe7d0186 snf-astakos-app/astakos/oa2/backends/base.py
b/snf-astakos-app/astakos/oa2/backends/base.py | ||
---|---|---|
197 | 197 |
__metaclass__ = BackendBase |
198 | 198 |
|
199 | 199 |
base_url = '' |
200 |
endpoints_prefix = 'oa2/' |
|
200 |
endpoints_prefix = 'oauth2/'
|
|
201 | 201 |
|
202 | 202 |
token_endpoint = 'token/' |
203 | 203 |
token_length = 30 |
... | ... | |
217 | 217 |
code_model = AuthorizationCode |
218 | 218 |
user_model = User |
219 | 219 |
|
220 |
def __init__(self, base_url='', endpoints_prefix='oa2/', id='oa2',
|
|
220 |
def __init__(self, base_url='', endpoints_prefix='oauth2/', id='oauth2',
|
|
221 | 221 |
token_endpoint='token/', token_length=30, |
222 | 222 |
token_expires=20, authorization_endpoint='auth/', |
223 | 223 |
authorization_code_length=60, **kwargs): |
Also available in: Unified diff