-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Refactor `command_hello` * Added `command_auth` for logging in with an API token * Refactor hash computation in update_irc_password * Choose IRC password as hex encoded string to avoid '/' character * Use lowercase for resolved pub key value so it is not considered a valid config key * Use separate variables for pub key file vs direct pub key * More cleanup * Use hydra token service for authentication * import jwt algorithms * fix import order * Use pyjwk client * change import * Use older jwt version without jwkClient due to twilio constraints update dependencies * Use older version of twilio to get around pyjwt version lock * Fix cron task * Rename to OauthService * log out decoded token * correct decoded token field * change sub to int * Use aiohttp to get jwks * Turn off audience verification * Fix tests * Revert db name change * use mocks properly * sort imports * fix tests * Fix codacy where possible * Address formatting * Remove unused import * only update keys once fully retrieved * Add detection for player id not in database * log login method in metrics * Make two labels for the user_logins * make kid string its own fixture, log user not in db, use dict comprehension * Fix test and formatting * Pipenv lock from linux * Change to prod hydra * Fix comment * Fix test formatting Co-authored-by: Askaholic <askaholic907@gmail.com>
- Loading branch information
Showing
15 changed files
with
495 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.