-
Notifications
You must be signed in to change notification settings - Fork 3
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
chore: Added jwt payload to the externalOIDFIdentifier.ts #55
base: develop
Are you sure you want to change the base?
Conversation
@@ -9,6 +9,7 @@ import { IAgentContext } from '@veramo/core' | |||
import { IOIDFClient } from '@sphereon/ssi-sdk.oidf-client' | |||
import { contextHasPlugin } from '@sphereon/ssi-sdk.agent-config' | |||
import { IJwsValidationResult } from '../types/IJwtService' | |||
import {decodeBase64url} from "@veramo/utils"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not include veramo utils. It deps on almost everything in veramo.
We have functions for base64 url decoding. And otherwise it is as simple as u8a.fromString(input, 'base64url')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced with uint8arrays as suggested
…SDK-crypto-extensions into feature/SPRIND-116 # Conflicts: # packages/identifier-resolution/src/functions/externalOIDFIdentifier.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.