Skip to main content
Solved

Multiple subdomains for one account using the API

  • February 20, 2023
  • 6 replies
  • 107 views

hy0ug0
Forum|alt.badge.img+4

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 

Best answer by Elliott

Hi there, 

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

View original
Did this topic help you find an answer to your question?

Forum|alt.badge.img+20
  • Community Manager
  • February 22, 2023

Hi there, 

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


Forum|alt.badge.img+2

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

David


Forum|alt.badge.img+1
  • Hub Starter
  • March 30, 2024

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?


hy0ug0
Forum|alt.badge.img+4
  • Hub Rookie
  • May 10, 2024

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

 


Forum|alt.badge.img+1
  • Hub Starter
  • May 12, 2024

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).


Forum|alt.badge.img

Nice


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept, you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings