Hello everyone,
I am wondering is there any way to force login whenever I try to authorize an application. As of now, when I try to connect to Strava API I am first redirected to login page then I authorize my application and then my callback route is called. Now, when I try to authorize my
application again (this is required in my application since one user can connect multiple Strava accounts) for other Strava profile, login step is skipped and I am redirected to the page where I can just deny or authorize my application again (this happens because I did not
terminate session on Strava aplication that I have established during preceding request). So I want to go through login and application authorization every time when I try authorize my application on some Strava account.
For example, when you are integrating Fitbit in your application they let you chose desired behaviour with prompt parameter, e.g:
none for default behavior.
consent to require consent from the user, even if they have previously authorized your application.
login to require the user to sign in, but request consent according to the default behavior.
login consent to require the user to sign in and authorize your application.
I am aware that Strave has approval_prompt parameter but it does not force you to login just to reauthorize your application.
Thanks,
Djordjije