GithubHelp home page GithubHelp logo

Account SIGN_IN about flask-assistant HOT 4 OPEN

wtavares avatar wtavares commented on May 28, 2024
Account SIGN_IN

from flask-assistant.

Comments (4)

treethought avatar treethought commented on May 28, 2024

hi @wtavares. flask-assistant now supports Account linking via Google Sign in!

To update: pip installl -U flask-assistant

and then check out the account linking example

from flask-assistant.

wtavares avatar wtavares commented on May 28, 2024

Hi @treethought !!!!

Thanks a lot for the fast feedback. Implemented and tested yesterday. Worked like a charm!

One comment and one question:

Comment: The profile and the access_token are not been filled. They are None. There is any trick or init needed? The user dict has all user sent by the DF including the access_token. I'm using it. No problem to me once I'm using my own OAuth2 implementation and validations to build the profile.

The doubt: How to we unlink or invalidate the access_token ate the AoG???? If my user removes their account... the token info is not useful anymore. So... is necessary to "invalidate" or remove the token at AoG. Do you have any idea about how to do this?

Thanks again!
W

from flask-assistant.

treethought avatar treethought commented on May 28, 2024

Hi @wtavares, currently only Google Sign in is supported. Sounds like you are talking about the access token that is received during OAuth sign in. When using google sign in, you don't receive an access token, but rather a JWT token that is decoded to obtain the profile information.

And do you mean the profile local (imported from flask_assistant) is None after a user signs in?

from flask-assistant.

wtavares avatar wtavares commented on May 28, 2024

from flask-assistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.