The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.
05-29-2024 11:42 PM - edited 05-29-2024 11:43 PM
The auth request stopped working. I used to work fine for our app. We didn't change anything in the app config or strava config.
This is our url call to start the access request:
strava://oauth/mobile/authorize?redirect_uri=ourAppName://stravaAuth&approval_prompt=auto&client_id=the-client-id&state=ios413&scope=activity:write&response_type=code
It opens the Strava app but brings a white screen with the error
• Invalid redirect URI
Is there anything new we missed on the Strava API?
Solved! Go to Solution.
06-01-2024 05:22 AM
I can answer my own question:
the redirect uri must be your_app_scheme://<Authorization Callback Domain>
the host must be the Authorization Callback Domain configured in Strava API settings
so something like myapp://myapp
06-11-2024 12:46 AM
Thank you
06-01-2024 05:22 AM
I can answer my own question:
the redirect uri must be your_app_scheme://<Authorization Callback Domain>
the host must be the Authorization Callback Domain configured in Strava API settings
so something like myapp://myapp
06-12-2024 01:06 AM
Is there a way to redirect to a specific page within the app for newly authenticated users? The above method just brings me back to the page I left off from.
Thanks
06-11-2024 12:48 AM
an error: {"message":"Bad Request","errors":[{"resource":"Application","field":"redirect_uri","code":"invalid"}]}
Welcome to the Community - here is your guide to help you get started!