TODO: Extract and add tests to refreshKeyStore
This commit is contained in:
@@ -36,6 +36,7 @@ export class BackstageIdentityStrategy extends Strategy {
|
||||
this.name = 'backstage';
|
||||
}
|
||||
|
||||
// TODO(erilar): Move to its own module (IdentityClient?) and add tests
|
||||
private async refreshKeyStore(rawJwtToken: string) {
|
||||
const { header, payload } = JWT.decode(rawJwtToken, {
|
||||
complete: true,
|
||||
|
||||
Reference in New Issue
Block a user