Skip to content

Commit

Permalink
add signing example
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-yangy committed Jul 27, 2024
1 parent 991eb66 commit bfe6d4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const passportInstance = new passport.Passport({
environment: config.Environment.SANDBOX,
publishableKey: process.env.NEXT_PUBLIC_PUBLISHABLE_KEY ?? '', // replace with your publishable API key from Hub
},
clientId: process.env.NEXT_PUBLIC_CLIENT_ID ?? '', // replace with your client ID from Hub
clientId: process.env.NEXT_PUBLIC_CLIENT_ID ?? '<CLIENT_ID>', // replace with your client ID from Hub
redirectUri: 'http://localhost:3000/redirect', // replace with one of your redirect URIs from Hub
logoutRedirectUri: 'http://localhost:3000/logout', // replace with one of your logout URIs from Hub
audience: 'platform_api',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const passportInstance = new passport.Passport({
environment: config.Environment.SANDBOX,
publishableKey: process.env.NEXT_PUBLIC_PUBLISHABLE_KEY ?? '', // replace with your publishable API key from Hub
},
clientId: process.env.NEXT_PUBLIC_CLIENT_ID ?? '', // replace with your client ID from Hub
clientId: process.env.NEXT_PUBLIC_CLIENT_ID ?? '<CLIENT_ID>', // replace with your client ID from Hub
redirectUri: 'http://localhost:3000/redirect', // replace with one of your redirect URIs from Hub
logoutRedirectUri: 'http://localhost:3000/logout', // replace with one of your logout URIs from Hub
audience: 'platform_api',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const passportInstance = new passport.Passport({
environment: config.Environment.SANDBOX,
publishableKey: process.env.NEXT_PUBLIC_PUBLISHABLE_KEY ?? '', // replace with your publishable API key from Hub
},
clientId: process.env.NEXT_PUBLIC_CLIENT_ID ?? '', // replace with your client ID from Hub
clientId: process.env.NEXT_PUBLIC_CLIENT_ID ?? '<CLIENT_ID>', // replace with your client ID from Hub
redirectUri: 'http://localhost:3000/redirect', // replace with one of your redirect URIs from Hub
logoutRedirectUri: 'http://localhost:3000/logout', // replace with one of your logout URIs from Hub
audience: 'platform_api',
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
"packages/minting-backend/sdk",
"examples/passport/identity-with-nextjs",
"examples/passport/wallets-connect-with-nextjs",
"examples/passport/wallets-signing-with-nextjs",
"examples/passport/wallets-transactions-with-nextjs"
],
"nohoist": [
Expand Down

0 comments on commit bfe6d4d

Please sign in to comment.