the user is forced to authorize my app each time , I am using oauth2 , API V2
I want the user to go directly to the web site if he previously authorized my app. thanks.

Hi @AmrrAdelSalem, thanks for your question! Have you considered using a refresh token?

This should allow your app to obtain a new access token without having to prompt the user to authorize the app every time it expires.

1 Like

Hi, I’m experiencing the same issue.

The problem is that we want to use OAuth2 as “Sign in with Twitter” (mentioned in Authorize URL section on that dev docs document you shared @stephinami) so if someone authorizes our app via OAuth2 on their desktop browser, but then tries to “Sign in with Twitter” again on their mobile phone they will encounter the authorization prompt again.

AFAICT we can’t work our way around this with a refresh token provided the first time the user signed in, unless I’m missing something. Other popular OAuth2 providers do work in the way we are expecting (including Twitter OAuth 1.0a) but not Twitter’s OAuth2. Any ideas or suggestions to solve this?