Add Google Hosted Authentication to a Python Flask App
Вставка
- Опубліковано 21 гру 2022
- I walk through how to register your own service with Google so that you can use Google Hosted Authentication via OAuth 2.0 for Flask web applications. Full credit goes to code-specialist.com. Here's the link to my Dockerized clone of Yannic's repo: github.com/vastevenson/flask-...
- Наука та технологія
Parabéns Vincent Stevenson por seu trabalho!
De forma didática você transformou algo difícil em uma maneira fácil (Congratulations Vincent Stevenson for your work!
In a didactic way you have transformed something difficult into an easy way).
Thanks Vincent! Great walkthrough
Really helpful and easy to follow!
Thanks for putting this together.
You're a saviour man, bless you
I dont get why the flask secret key need to match the google client secret! can someone explain?
How to remove cached session so that we can make user to login every time
Great, I just got an error when I try to login the app the access is blocked
I am getting this error, can anyone help?
[GSI_LOGGER]: The given login_uri is not allowed for the given client ID.
I really didn’t understand what client_secret_files is for and they you created.
I’m really confused
The client secret file is how you register your app with google so they can authenticate your app with them for their authentication flow.
@@VincentStevenson nice, but can I just create the file manually without using "os" library and copy-paste the content from google ?
@@carlosaugusto-mo2hb you can use that as string I think
Towards the end of the video, you mention that someone could gain unauthorized access by adding a session variable locally. I was under the impression that session variables are stored and managed on the server side, which is why they are used instead of cookies in many cases. Is this not true?
session variables are stored on front end. they can be viewed and edited by users
This is very useful, thank you, can you please help in case I need to protect more than one page. Thanks in advance.
I'm getting "This site can’t be reachedlocalhost refused to connect."
Check that your redirect url is set the the correct address
Hi! I'm getting a similar error. Have you found a way to solve this?