Skip to content
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

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

zoemaas
Copy link
Contributor

@zoemaas zoemaas commented Nov 28, 2024

No description provided.

@@ -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";
Copy link
Contributor

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')

Copy link
Contributor Author

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

Zoe Maas added 3 commits December 3, 2024 17:19
…SDK-crypto-extensions into feature/SPRIND-116

# Conflicts:
#	packages/identifier-resolution/src/functions/externalOIDFIdentifier.ts
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.

2 participants