mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[GH-ISSUE #318] Help wanted with AuthCodeSpotify auth flow #98
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#98
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?
Originally created by @Staninna on GitHub (May 24, 2022).
Original GitHub issue: https://github.com/ramsayleung/rspotify/issues/318
Hello i am trying to auth with the AuthCodeSpotify but I just cant figure it out I like a little help
I struggle fingering out how to obtain the token
If you want to see all my code i have a repository here
I hope i didn't break any rules by opening this issue but i really need support
@ramsayleung commented on GitHub (May 24, 2022):
There are some working examples in this repository, would you like to take a look at them first? Such as this working example auth_code.rs which shows how to auth with
AuthCode.You should provide more details about what exactly went wrong, what's the error message. I have no idea what's going on, what are you struggling for, with a vague description :)
@Staninna commented on GitHub (May 24, 2022):
This is what I get when I try to run auth_code.rs
Besides that, it doesn't run in the main function, and I had to move it to an async function because the main function can not be async. Maybe I am missing something because I am pretty new to rust
And what I meant by struggling with the way to obtain a token is the code flow on this doc page in steps 3 and 4
@Staninna commented on GitHub (May 24, 2022):
I fixed it. I didn't know crates had features. Now I do, and enabling the
clifeature fixed my problem