Simplify module config and constructor for JwtTranscoder

Created on 15 March 2023, over 1 year ago
Updated 17 March 2023, over 1 year ago

Problem/Motivation

JwtTranscoder is too focused on being a service and thus can't be re-used for creating or checking with other than the default key.

In addition, the module has a pointless config for 'algorithm'. The key object itself is configured with the algorithm so forcing the admin to make them match is extra work.

Proposed resolution

remove 'algorithm' config, and simplify the constructor for the class (maybe using a subclass for the service?)

Remaining tasks

decide on the approach

User interface changes

n/a

API changes

constructor change

Data model changes

n/a

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States pwolanin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024