flask-browserid icon indicating copy to clipboard operation
flask-browserid copied to clipboard

Short example ?

Open pythonmobile opened this issue 11 years ago • 3 comments

Is there a short example of flask-browserid somewhere that I could see? Perhaps its not a bad idea to add a "example" directory in the source with a "app.py"?

pythonmobile avatar Aug 01 '13 16:08 pythonmobile

This is a great idea, I'll try to get on it this weekend. In the meantime, check out generate_app in tests/init.py and the template in tests/templates/index.html. I use that for smoke testing. It runs an app just complicated enough to see if users are able to sign in with Persona.

garbados avatar Aug 15 '13 03:08 garbados

Thanks. Will await your example.

pythonmobile avatar Aug 16 '13 12:08 pythonmobile

Any movement on this? I'd also really like to be able to see an example of handling the user session once they have been authenticated.

JohnLZeller avatar Jan 10 '14 18:01 JohnLZeller