cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Multiple subdomains for one account using the API

hy0ug0
Shkhara

Hi, is there a way to authorise multiple subdomains for the API in the "Authorization Callback Domain" section ? Or add a comma separated list of domains ?

For exemple I want to be able to authorise, foo.my-domain.com and bar.my-domain.com.

Can I just authorise *.my-domain.com in the settings ? Or I need to create a Strava account for each subdomains ?

Thanks 

1 ACCEPTED SOLUTION

Elliott
Community Manager Community Manager
Community Manager

Hi there, 

At this time there is only support for one subdomain. A second one would require an additional account & app. 

View solution in original post

6 REPLIES 6

davidmarks206
Shkhara

So if I want to auth on the new domain to I have to generate a new client secret?

David

Elliott
Community Manager Community Manager
Community Manager

Hi there, 

At this time there is only support for one subdomain. A second one would require an additional account & app. 

I understand different accounts for different appls. But if I have an app in production under www.... address (and authorisation callback points at this address) and have a current build in localhost (where authorisation callback points at the localhost.. address) it seemed to work for me only days before. Now my under-construction build on localhost - is not able to retrieve data from strava. Is there a way to have both externall www. adress and localhost accepted for callback?

In the past I thought that localhost was whitelisted from the authorisation callback but it may have change since...

hy0ug0_0-1715326836688.png

 

Thx. But this exactly is the point. If I swich this, my production side will not work for the time of the development checks (= localhost Callback).

Nice