mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[PR #98] [MERGED] First implementation of automatic recognition of redirect url #606
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#606
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/Rigellute/spotify-tui/pull/98
Author: @jfaltis
Created: 10/22/2019
Status: ✅ Merged
Merged: 10/23/2019
Merged by: @Rigellute
Base:
auto-redirect-code← Head:auto-redirect-code📝 Commits (1)
5d257f5experimental implementation of automatic recognition of redirect url📊 Changes
3 files changed (+68 additions, -28 deletions)
View changed files
📝
src/main.rs(+26 -14)📝
src/redirect_uri.html(+1 -1)📝
src/redirect_uri.rs(+41 -13)📄 Description
This is my first approach of implementing https://github.com/Rigellute/spotify-tui/issues/96. The local webserver now starts just before the token request and listens for incoming GET requests. When a get request is received it tries to "parse" the URL. If the start of the webserver fails or the GET request cant be parsed it returns to manual authentication (old way).
The problem I see with the current state of my implementation:
What do you think?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.