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-...
  • Наука та технологія

КОМЕНТАРІ • 19

  • @saudenetwork
    @saudenetwork Рік тому +2

    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).

  • @JWJD99
    @JWJD99 9 місяців тому

    Thanks Vincent! Great walkthrough

  • @peachyme1401
    @peachyme1401 Рік тому +2

    Really helpful and easy to follow!

  • @MrDelliSanti
    @MrDelliSanti Рік тому

    Thanks for putting this together.

  • @careyakida7435
    @careyakida7435 Місяць тому

    You're a saviour man, bless you

  • @mmcuser
    @mmcuser 10 місяців тому +2

    I dont get why the flask secret key need to match the google client secret! can someone explain?

  • @sukumar6723
    @sukumar6723 Рік тому +1

    How to remove cached session so that we can make user to login every time

  • @robinchriqui2407
    @robinchriqui2407 5 місяців тому +1

    Great, I just got an error when I try to login the app the access is blocked

  • @mananshah2723
    @mananshah2723 25 днів тому

    I am getting this error, can anyone help?
    [GSI_LOGGER]: The given login_uri is not allowed for the given client ID.

  • @carlosaugusto-mo2hb
    @carlosaugusto-mo2hb Рік тому

    I really didn’t understand what client_secret_files is for and they you created.
    I’m really confused

    • @VincentStevenson
      @VincentStevenson  Рік тому

      The client secret file is how you register your app with google so they can authenticate your app with them for their authentication flow.

    • @carlosaugusto-mo2hb
      @carlosaugusto-mo2hb Рік тому

      @@VincentStevenson nice, but can I just create the file manually without using "os" library and copy-paste the content from google ?

    • @CognitiveCore
      @CognitiveCore Рік тому

      @@carlosaugusto-mo2hb you can use that as string I think

  • @zgong1864
    @zgong1864 2 місяці тому

    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?

    • @ZootedRambler
      @ZootedRambler 11 днів тому

      session variables are stored on front end. they can be viewed and edited by users

  • @AnuragHalderEcon
    @AnuragHalderEcon День тому

    This is very useful, thank you, can you please help in case I need to protect more than one page. Thanks in advance.

  • @mcnutley
    @mcnutley Рік тому

    I'm getting "This site can’t be reachedlocalhost refused to connect."

    • @CarlosHernandez-pl4vs
      @CarlosHernandez-pl4vs 11 місяців тому

      Check that your redirect url is set the the correct address

    • @user-il5og4tq5c
      @user-il5og4tq5c 8 місяців тому

      Hi! I'm getting a similar error. Have you found a way to solve this?