pallets-eco / flask-security

Quick and simple security for Flask applications
MIT License
1.63k stars 513 forks source link

[Question] Is there any way to use Google auth with SPA? #875

Open husudosu opened 2 years ago

husudosu commented 2 years ago

I have a SPA application in Vue and using Flask backend with Flask-Security-Too. The auth with username & password works correctly, but I'd like to add Google handling to app (later Facebook too). I imagine something like:

Thanks in advance!

jwag956 commented 2 years ago

Please ask this question over here: https://github.com/Flask-Middleware/flask-security/discussions The short answer is that flask-security-too doesn't currently support that out of the box - however you might start here: https://docs.authlib.org/en/latest/client/flask.html