stormpath-flask
stormpath-flask copied to clipboard
Add additional redirect check for google login
It looks like when logging into google, the recommended procedure for following the user to the "next" url is put that next parameter encoded in a "state" parameter that is passed to Google. Google then passes it back to you.
Also, one thing I didn't update, which maybe makes sense for this change as well, is to update the google_login.html file to include the "next" url in the state param passed to google.