Since PowerApps does not have a Strava connector (Strava the health tracking app), how can I build a custom connector for that? Strava uses OAuth 2.0
Solved! Go to Solution.
Hi @Fbsx503 ,
Do you want to create custom connector based on Strava Rest API in canvas app?
Due to the Strava API use OAuth 2.0 as Authentication Way, so you need to register a application in your Strava Account. A registered application will be assigned a client ID and client secret. The secret is used for authentication and should never be shared.
More details about registering a app for accessing Strava API, please check the following article:
https://developers.strava.com/docs/getting-started/#account
I have made a test on my side, the screenshot as below:
Configure the Authentication way for your custom connector as above. Authorization Url field set to following:
https://www.strava.com/api/v3/oauth/authorize
Token Url field and Refresh Url field set to following:
https://www.strava.com/api/v3/oauth/token
then click "Create Connector" button to save your changes. After that, the 'Redirect Url' field value would be generated automatically. You need to copy the generated 'Redirect Url' value, and back to your registered Strava app, paste it to the "Authorization Callback Domain" field as below:
After that, you could go to the "Test" section to create a connection to this custom connector. You would be prompted to authorize the registered app to access your Strava API Resource on behalf of you.
In addition, you could also consider use the Bearer + Access Token within the 'Authorization' as HTTP Request Header to access your Strava Rest API resource. Then you need to configure your Authentication way as below:
After that, please go to "Test" part, create a connection to this custom connector, you would be prompted to provide a 'Authorization' value, on your side, you need to type the following value:
Bearer YourAccessToken
The 'Access Token' could be obtained from your registered app as below:
So your Authorization value should be like below:
Bearer c46c18f85fffee601cd2677bf0c29833xxxxxxxx
Please try above solution, hopes it could solve your problem.
Regards,
First you will need the documentation for the api for strava
there are step by step instructions here https://docs.microsoft.com/en-us/connectors/custom-connectors/define-blank
And Keith Whatling has a really good video guide https://powerusers.microsoft.com/t5/Community-Video-Gallery/Basic-Custom-Connector-Creation-Google-B...
I've been through those documents. The problem is that they don't show how OAuth 2.0 works. I don't have much knowledge about such things. The real issue is filling the blanks of the URLs. Like I don't know what link should I put there.
You will need to get that information from the Strava documentation
Hi @Fbsx503 ,
Do you want to create custom connector based on Strava Rest API in canvas app?
Due to the Strava API use OAuth 2.0 as Authentication Way, so you need to register a application in your Strava Account. A registered application will be assigned a client ID and client secret. The secret is used for authentication and should never be shared.
More details about registering a app for accessing Strava API, please check the following article:
https://developers.strava.com/docs/getting-started/#account
I have made a test on my side, the screenshot as below:
Configure the Authentication way for your custom connector as above. Authorization Url field set to following:
https://www.strava.com/api/v3/oauth/authorize
Token Url field and Refresh Url field set to following:
https://www.strava.com/api/v3/oauth/token
then click "Create Connector" button to save your changes. After that, the 'Redirect Url' field value would be generated automatically. You need to copy the generated 'Redirect Url' value, and back to your registered Strava app, paste it to the "Authorization Callback Domain" field as below:
After that, you could go to the "Test" section to create a connection to this custom connector. You would be prompted to authorize the registered app to access your Strava API Resource on behalf of you.
In addition, you could also consider use the Bearer + Access Token within the 'Authorization' as HTTP Request Header to access your Strava Rest API resource. Then you need to configure your Authentication way as below:
After that, please go to "Test" part, create a connection to this custom connector, you would be prompted to provide a 'Authorization' value, on your side, you need to type the following value:
Bearer YourAccessToken
The 'Access Token' could be obtained from your registered app as below:
So your Authorization value should be like below:
Bearer c46c18f85fffee601cd2677bf0c29833xxxxxxxx
Please try above solution, hopes it could solve your problem.
Regards,
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
User | Count |
---|---|
199 | |
71 | |
50 | |
43 | |
30 |
User | Count |
---|---|
257 | |
126 | |
87 | |
84 | |
82 |