You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Follow the guide in the README.
Access localhost:8000 in the browser
Traceback (most recent call last):
File "/home/taugspurger/src/msazure/redo/DjangoUI/venv/lib/python3.10/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/home/taugspurger/src/msazure/redo/DjangoUI/venv/lib/python3.10/site-packages/django/core/handlers/base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/taugspurger/src/msazure/redo/DjangoUI/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
File "/home/taugspurger/src/msazure/redo/DjangoUI/venv/lib/python3.10/site-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
File "/home/taugspurger/src/msazure/redo/DjangoUI/AzureManagement/views.py", line 28, in get
if "error" in token_response:
Exception Type: TypeError at /
Exception Value: argument of type 'NoneType' is not iterable
Mention any other details that might be useful
I think the correct API_SCOPE is API_SCOPE="api://Flask_API_Client_ID/access_as_user" (substituting the Flask_API_Client_ID) to match the name of the scope defined by the Flask API.
The text was updated successfully, but these errors were encountered:
This issue is for a: (mark with an
x
)Minimal steps to reproduce
localhost:8000
in the browserMention any other details that might be useful
I think the correct
API_SCOPE
isAPI_SCOPE="api://Flask_API_Client_ID/access_as_user"
(substituting theFlask_API_Client_ID
) to match the name of the scope defined by the Flask API.The text was updated successfully, but these errors were encountered: