I am using python and flask for making web pages. I am trying to authenticate Microsoft graph but its giving an error. Please see the picture below:
Asked
Active
Viewed 146 times
0

Aly Zayn
- 61
- 1
- 4
1 Answers
0
Use debug
mode to see debug information.
- Flask > 1.0, use
FLASK_ENV=development
. - Flask < 1.0, use
FLASK_DEBUG=1
.
Flask-OAuthlib itself doesn't support proxy. You can try https://github.com/lepture/authlib it uses requests for OAuth client. Requests support proxy http://docs.python-requests.org/en/master/user/advanced/#proxies

lepture
- 2,307
- 16
- 18
-
Actually, I am behind a proxy. No authentication is going through which has python code it. I tried authenticating to Microsoft graph using angularJS and its working fine. I don't how to to get this python version working in my company – Aly Zayn Jun 07 '18 at 20:35
-
@AlyZayn Flask-OAuthlib itself doesn't support proxy. You can try https://github.com/lepture/authlib it uses requests for OAuth client. Requests support proxy http://docs.python-requests.org/en/master/user/advanced/#proxies – lepture Jun 09 '18 at 08:40