Skip to content

Commit

Permalink
feedback didjwk
Browse files Browse the repository at this point in the history
  • Loading branch information
shamilovtim committed Aug 13, 2024
1 parent f4d5d6f commit cfb05a9
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 : 'openid did:dht',
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 : 'openid did:dht',
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 cfb05a9

Please sign in to comment.