Integrate OAuth2.0 to SSO in AWS

0

I'm creating a Spotify data analysis tool to communicate with the company API so I can provide a service on my web for people to see some insights of their spotify profiles. To do so, I need to incorporate the SSO on my web with the OAuth2.0 protocol (given by Spotify to use their API).

I would like to know if someone can guide me into the steps to do this since I have no prior experience working with external users authentication.

1 回答
0

Hello,

As you said in your message, Spotify requires that you use OAuth 2.0 for authorization against their API. Docs here https://developer.spotify.com/documentation/general/guides/authorization/ Based on the docs and your message above, it looks like the Authorization Code-Flow would be your best choice. https://developer.spotify.com/documentation/general/guides/authorization/code-flow/

They do point you to a github repo with a full functioning example, but unfortunately it looks like the link in the docs is broken. Ive found the repo here https://github.com/spotify/web-api-examples/tree/master/authentication/authorization_code

Hope this helps Craig

profile pictureAWS
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则