Strava - force login on every try to authorize an application

341 views
Skip to first unread message

Djordjije Krivokapic

unread,
Sep 7, 2018, 5:11:25 AM9/7/18
to Strava API
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
 

mme...@gmail.com

unread,
Sep 7, 2018, 5:15:24 AM9/7/18
to djordjije....@gmail.com, Strava API

--
You received this message because you are subscribed to the Google Groups "Strava API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to strava-api+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mme...@gmail.com

unread,
Sep 7, 2018, 5:16:17 AM9/7/18
to djordjije....@gmail.com, Strava API
Oops sorry just read the last part of your email.... apologies! I don't have an answer to that...
Message has been deleted

Djordjije Krivokapic

unread,
Sep 7, 2018, 5:18:47 AM9/7/18
to Strava API


On Friday, September 7, 2018 at 11:18:27 AM UTC+2, Djordjije Krivokapic wrote:
Yeah, I know for 'auto' and 'force' but they just let you reauthorize your app and do not force you to login again.
Reply all
Reply to author
Forward
0 new messages