Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup the Auth Command #13

Closed
harrisonhowardax opened this issue May 4, 2024 · 1 comment
Closed

Setup the Auth Command #13

harrisonhowardax opened this issue May 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@harrisonhowardax
Copy link
Collaborator

harrisonhowardax commented May 4, 2024

Task

We want this command to handle the following process.

  1. User initiates the command auth
  2. The app creates a pin via plex_pin_auth.create_pin() (client_identifier to be a mix of the host and username)
  3. Using repeatedly poll the plex_pin_auth.get_token() until the auth token has been returned.
    • Ensure that it stops after the token has expired
  4. If the token expires inform the user that it expired and run the command again
  5. If the token is successfully returned write it to the config

Dependencies

  • plex_pin_auth
  • repeatedly
@harrisonhowardax harrisonhowardax converted this from a draft issue May 4, 2024
@harrisonhowardax harrisonhowardax moved this from Backlog to Ready in Plex Discord RPC May 4, 2024
@harrisonhowardax harrisonhowardax added the enhancement New feature or request label May 4, 2024
@harrisonhowardax harrisonhowardax moved this from Ready to In progress in Plex Discord RPC May 4, 2024
harrisonhowardax added a commit that referenced this issue May 4, 2024
harrisonhowardax added a commit that referenced this issue May 4, 2024
harrisonhowardax added a commit that referenced this issue May 4, 2024
This reverts commit fd025c0.
harrisonhowardax added a commit that referenced this issue May 4, 2024
harrisonhowardax added a commit that referenced this issue May 4, 2024
harrisonhowardax added a commit that referenced this issue May 4, 2024
harrisonhoward added a commit that referenced this issue May 17, 2024
harrisonhoward added a commit that referenced this issue May 17, 2024
#13 Setup the auth command
@harrisonhoward
Copy link
Owner

Completed in PR #14

@github-project-automation github-project-automation bot moved this from In progress to Done in Plex Discord RPC May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants