Skip to content

Flask-Discord integration #537

Answered by jwag956
TakeusV1 asked this question in Q&A
Oct 18, 2021 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I am not familiar with Flask-Discord - however here are some ideas. First - as you have done - you need to create/register the user in the Flask-Security DB.
Second - once your client has successfully authenticated with Discord - in your callback/view you need to 'login' the user - this will set up the session cookie for all future calls. Do this by calling flask_security.login_user(user)

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@TakeusV1
Comment options

Answer selected by TakeusV1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants