auth-server-sample
auth-server-sample copied to clipboard
Samples for Understanding OAuth2 and Building a Basic Authorization Server of Your Own Beginner's Guide
Tested on Ubuntu 20.04 with Python3 The dependencies: * cffi==1.14.5 * click==7.1.2 * cryptography==3.4.7 * Flask==1.1.2 * itsdangerous==1.1.0 * Jinja2==2.11.3 * MarkupSafe==1.1.1 * pycparser==2.20 * PyJWT==2.1.0 * pyOpenSSL==20.0.1 * six==1.15.0...
This sample (and accompanying blog at https://medium.com/@ratrosy/building-a-basic-authorization-server-using-authorization-code-flow-c06866859fb1) is really good for understanding OAuth 2.0 and how JWT are used. Unfortunately the existing code for the Access Code flow causes some...
Thanks for the write up btw, learned alot
How i can setup oauth2 on our server, after that I can use this sample code. I am going to create basic authentication with use of oauth2.0. Please suggest the...
I found this code after reading [Understanding OAuth2 and Deploying a Basic Authorization Service to Cloud Functions](https://cloud.google.com/community/tutorials/understanding-oauth2-and-deploy-a-basic-auth-srv-to-cloud-functions) tutorial. I wanted to bring two items to your attention with the tutorial:...
1. Deploy command should be --trigger-http and --runtime=nodejs14 (or swap 14 for more recent version). When deploying need to agree to authorised access to the function. 2. The property with...
jwt.decode needs key "algorithms" not "algorithm" to work refer https://pyjwt.readthedocs.io/en/stable/