Use symmetric keys for JWT #73

Closed
opened 2022-09-04 17:21:16 -04:00 by kdeng00 · 0 comments
kdeng00 commented 2022-09-04 17:21:16 -04:00 (Migrated from github.com)

Switch from asymmetric keys to symmetric ones. Main reason is that it will reduce the number of dependencies that are needed and make it easier to maintain while still achieving the desired goal

Requirements

  • Update config files to have a section for JWT
    • Secret
    • Issuer
    • Audience
    • Subject
  • Add new code to create tokens based off of the symmetric key
  • Remove token authorization checks from the controllers and replace them with the [Authorize] declaration
  • Update Readme

Completing this will render #66 and #32 unnecessary.

Switch from asymmetric keys to symmetric ones. Main reason is that it will reduce the number of dependencies that are needed and make it easier to maintain while still achieving the desired goal ## Requirements * Update config files to have a section for JWT - Secret - Issuer - Audience - Subject * Add new code to create tokens based off of the symmetric key * Remove token authorization checks from the controllers and replace them with the [Authorize] declaration * Update Readme Completing this will render #66 and #32 unnecessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: phoenix/icarus#73