Skip to content

Commit

Permalink
Merge branch 'tshamilov/connect-v2' into tshamilov/cleanup-crypto-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Aug 13, 2024
2 parents c24572c + cfb05a9 commit c8fcc31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/agent/src/connect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ async function initClient({
// build the PAR request
const request = await Oidc.createAuthRequest({
client_id : clientDid.uri,
scope : 'web5', // TODO: clear with frank
scope : 'openid did:jwk',
// code_challenge : codeChallengeBase64Url,
// code_challenge_method : 'S256',
permissionRequests : permissionRequests,
Expand Down
2 changes: 1 addition & 1 deletion packages/agent/tests/connect.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ describe('web5 connect', function () {

const options = {
client_id : clientEphemeralPortableDid.uri,
scope : 'web5',
scope : 'openid did:jwk',
// code_challenge : Convert.uint8Array(codeChallenge).toBase64Url(),
// code_challenge_method : 'S256' as const,
permissionRequests : {} as any, // TODO: use a better mock once DWN stuff is in place,
Expand Down

0 comments on commit c8fcc31

Please sign in to comment.