ueberauth / ueberauth_twitter

Twitter Strategy for Überauth
MIT License
36 stars 38 forks source link

Forward query parameters to OAuth endpoint #32

Closed arnodirlam closed 3 years ago

arnodirlam commented 5 years ago

Twitter's OAuth authenticate endpoint supports query parameters force_login or screen_name to modify the user flow when authenticating with Twitter.

This change allows to make use of these parameters by forwarding all query parameters to the initial request to the OAuth endpoint.

For example, to always ask for a user name and password (even if logged in to Twitter), initiate the request through:

/auth/twitter?force_login=true
Hanspagh commented 3 years ago

Closing due to inactivity, feel free to reopen