Skip to content

A playground rust application to learn about rust, tokio-rs and the pkce authorization flow

Notifications You must be signed in to change notification settings

maxmesserich93/oAuth-rusten-spotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

oAuth-rusten-spotify

An application telling you the name of the song you are listening to on spotify. Prints to the console and published to a websocket at localhost:8081

Goal

  • Learn about the pkce Authorization Code Flow by implementing it.

  • Learn about Rust and the tokio runtime by implementing the pkce Authorization Code Flow.

Setup

Set up a Spotify API Client

Starting and using the application

  • cargo run
  • the console shows you a link that directs you to the spotify login site
  • once you have allowed the application access, you should be redirected to localhost:8080/callback
  • you can now see you current track in the console see it with websocket client listening to ws://localhost:8081

About

A playground rust application to learn about rust, tokio-rs and the pkce authorization flow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages