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

Implement JWT authentication with access and refresh tokens #8

Merged
merged 4 commits into from
Nov 18, 2024

Conversation

Vianpyro
Copy link
Member

No description provided.

@Vianpyro Vianpyro added the enhancement New feature or request label Nov 17, 2024
@Vianpyro Vianpyro self-assigned this Nov 17, 2024
@Vianpyro Vianpyro merged commit 2b65b1c into feature/authentication Nov 18, 2024
8 checks passed
@Vianpyro Vianpyro deleted the feature/session_token branch November 18, 2024 13:15
Vianpyro added a commit that referenced this pull request Nov 19, 2024
* Implement user authentication with registration and login endpoints

* Remove unused test endpoint for retrieving player by email

* Change hash_password_with_salt_and_pepper function to return a tuple of hashed password and salt

* Use a default pepper value for Linting purpose

* Implement JWT authentication with access and refresh tokens (#8)

* Implement JWT authentication with access and refresh tokens

* Refactor battle, building, and city tests to assert 401 status code for unauthorized access

* Remove unused mock patches from battle, building, and city tests to simplify code

* Update super-linter workflow to trigger on pull requests to the main branch

* Enhance registration error handling for duplicate player names and emails
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
None yet
Development

Successfully merging this pull request may close these issues.

1 participant