Skip to main content
Notice removed Draw attention by flakpm
Bounty Ended with user277802's answer chosen by flakpm
Notice added Draw attention by flakpm
Bounty Started worth 50 reputation by flakpm
added 9 characters in body
Source Link

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user is redirected to the callback URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user is redirected to the URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user is redirected to the callback URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

updates crates link
Source Link

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already cratescrates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user is redirected to the URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user is redirected to the URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user is redirected to the URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

update wording
Source Link

Type-state pattern and state management for credentials struct used with Spotify web API

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already cratescrates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user getis redirected to the URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

Type-state pattern and state management for credentials struct

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user get redirected to the URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST to the token endpoint with the API credentials and the auth code to get your access token.

Type-state pattern and state management for credentials struct used with Spotify web API

I am implementing authentication with the Spotify web API as part of a larger project. Yes I know there are already crates that can handle it for me but that is no fun. I am implementing the auth code flow. To spare you reading the documentation, you basically open a URL with the API credentials and some other info in the URL query for the user to authorize your app, and the user is redirected to the URL you specified with the auth code in the query, so I just listen on the localhost port to capture the redirect. Then you send a POST request to the token endpoint with the API credentials and the auth code to get your access token.

Spelling and grammar
Source Link
Toby Speight
  • 88.7k
  • 14
  • 104
  • 327
Loading
added beginner tag
Link
Loading
deleted 1 character in body
Source Link
toolic
  • 16.4k
  • 6
  • 29
  • 221
Loading
Source Link
Loading