Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

Commit 002e880

Browse files
author
Jeffrey Sun
committed
Update README Django example authorization scope
1 parent c8dd184 commit 002e880

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def start_authorization_flow(request):
157157
"""
158158
url, state = get_authorization_url(app_id=settings.KLOUDLESS_APP_ID,
159159
redirect_uri=settings.KLOUDLESS_REDIRECT_URL,
160-
scope='any:normal.storage')
160+
scope='storage')
161161

162162
request.session['authorization_state'] = state
163163
return HttpResponseRedirect(url)

docs/source/readme.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ and calling it via ``urls.py``.
170170
"""
171171
url, state = get_authorization_url(app_id=settings.KLOUDLESS_APP_ID,
172172
redirect_uri=settings.KLOUDLESS_REDIRECT_URL,
173-
scope='any:normal.storage')
173+
scope='storage')
174174
175175
request.session['authorization_state'] = state
176176
return HttpResponseRedirect(url)

0 commit comments

Comments
 (0)