Auto redirect when already logged in - OAuth login


#1

Hi,

I set up an authentication process on my website using Twitter OAuth (via the Flask plugin http://peterhudec.github.io/authomatic/examples/flask-simple.html)

Everything works fine except :

There is no immediate auto-redirect.

NOTES :

  • I’ve setup my app on “Read and Write”
  • I’ve setup a callback URL for my app
  • I’ve checked “Allow this application to be used to Sign in with Twitter”
  • When I check https://twitter.com/settings/applications, the app is indeed authorized properly

Any help appreciated

Thanks

  • J

#2

Use https://api.twitter.com/oauth/authenticate with the configuration options you’ve setup instead of /oauth/authorize to realize this behavior.