mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #246] [MERGED] PKCE Auth Flow #339
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#339
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/246
Author: @marioortizmanero
Created: 8/31/2021
Status: ✅ Merged
Merged: 9/25/2021
Merged by: @ramsayleung
Base:
master← Head:pkce📝 Commits (10+)
0415abaobtaining URL69e3b55More TODOs319abd0Rename headers for consistency347f1b7Base implementation6ad71ddSmall fixeseea632fMore small fixes, figuring out why the 400 code76b7289Now working!585073bFix testsc8af69bTesting token refreshingc67aca5update changelog📊 Changes
13 files changed (+284 additions, -179 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
Cargo.toml(+1 -0)📝
examples/auth_code.rs(+4 -7)📝
examples/auth_code_pkce.rs(+25 -14)📝
examples/client_creds.rs(+4 -3)📝
rspotify-model/src/auth.rs(+31 -1)📝
src/auth_code.rs(+26 -26)📝
src/auth_code_pkce.rs(+71 -34)📝
src/client_creds.rs(+7 -2)📝
src/clients/base.rs(+19 -21)📝
src/clients/mod.rs(+3 -47)📝
src/clients/oauth.rs(+2 -2)📝
src/lib.rs(+90 -22)📄 Description
Description
This implements the PKCE auth flow. It also removes quite a few TODOs in the code.
Closes #150
Dependencies
I had to add
sha2in order to hash the verifier code with SHA256.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
examples/auth_code_pkce.rsexample🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.