Revision fcd85f90
b/snf-pithos-app/pithos/api/util.py | ||
---|---|---|
1166 | 1166 |
'state': '', # TODO include state for security |
1167 | 1167 |
'scope': request.path.split(VIEW_PREFIX, 2)[-1]} |
1168 | 1168 |
return HttpResponseRedirect('%s?%s' % |
1169 |
(astakos.api_oa2_auth, |
|
1169 |
(join_urls(astakos.oa2_url, |
|
1170 |
'auth'), |
|
1170 | 1171 |
urlencode(params))) |
1171 | 1172 |
else: |
1172 | 1173 |
# request short-term access code |
Also available in: Unified diff