You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Dapp that allow users to login with any provider using Auth0 that provides OIDC JWT token which then creates ZKP to sign txns via same Dapp securely. Currently running my dapp locally with a local SUI node network.
Here is what I have achieved so far:
Redirect user to login via their OAuth provider account.
Fetch the JWT from Auth0 after login.
Call a self-hosted salt service to generate the user's salt, asks user to store salt in a safe place for next time authentication.
Generate ephemeral key pairs.
Implementation I am missing / looking for:
Use prover service API to generate the ZKP, passing the JWT, ephemeral public key, and salt.
Assemble the zkLogin signature and submit the transaction to the local Sui node.
Now the issue is that I tried to run SUI prover docker image and use that but it specifies that it supports only certain iss (providers/issuers):
Google
Microsoft
Twitch
Facebook
Apple
Slack
etc....
But it does not allow custom issuer like Auth0 I get error saying something like invalid issuer.
I know I can use the devnet and testnet but I would like to use the local node to learn more about the SUI ZKP auth architecture and its good for debugging.
Can anyone help or provide a solution for my own case?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a Dapp that allow users to login with any provider using Auth0 that provides OIDC JWT token which then creates ZKP to sign txns via same Dapp securely. Currently running my dapp locally with a local SUI node network.
Here is what I have achieved so far:
Implementation I am missing / looking for:
Now the issue is that I tried to run SUI prover docker image and use that but it specifies that it supports only certain iss (providers/issuers):
etc....
But it does not allow custom issuer like Auth0 I get error saying something like invalid issuer.
I know I can use the devnet and testnet but I would like to use the local node to learn more about the SUI ZKP auth architecture and its good for debugging.
Can anyone help or provide a solution for my own case?
Beta Was this translation helpful? Give feedback.
All reactions