Skip to content

More small JWT improvements#793

Merged
bennybp merged 2 commits into
mainfrom
jwt_fix
Nov 27, 2023
Merged

More small JWT improvements#793
bennybp merged 2 commits into
mainfrom
jwt_fix

Conversation

@bennybp
Copy link
Copy Markdown
Contributor

@bennybp bennybp commented Nov 27, 2023

Description

Just some small improvements to JWT logic

  • Renames internal functions from verify->authenticate, but adds a new verify function that does not do password checking
  • Update the auth socket to return both user and role info
  • Added tests to ensure refresh tokens include updated permissions

Changelog description

Some small improvements to JWT logic

Status

  • Code base linted
  • Ready to go

@bennybp bennybp merged commit 69a3e60 into main Nov 27, 2023
@bennybp bennybp deleted the jwt_fix branch November 27, 2023 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant