# zkLogin

**URL:** https://forums.sui.io/c/zklogin/30.md

[Latest](https://forums.sui.io/latest.md) · [Categories](https://forums.sui.io/categories.md) · [Tags](https://forums.sui.io/tags.md)

---

## [About the zkLogin category](https://forums.sui.io/t/about-the-zklogin-category/45016)

<div class="topic-metadata">

**Author:** [@mosaicRegressor](https://forums.sui.io/u/mosaicRegressor)\
**Replies:** 0

</div>

Bringing secure, frictionless user onboarding to Sui. Use this category for questions and discussions about zkLogin.

---

## [zkLogin salt service: are salts stored or derived from a master secret?](https://forums.sui.io/t/zklogin-salt-service-are-salts-stored-or-derived-from-a-master-secret/49379)

<div class="topic-metadata">

**Author:** [@SessionCruz](https://forums.sui.io/u/SessionCruz)\
**Replies:** 2\
**Last updated:** [August 10, 2026, 9:23pm UTC](https://forums.sui.io/t/zklogin-salt-service-are-salts-stored-or-derived-from-a-master-secret/49379 "2026-08-10T21:23:07Z")

</div>

I’m evaluating zkLogin for a protocol where users hold assets long term, and I’d like to understand the durability model before designing around it. The address derives from the user’s OAuth sub and a salt. I’ve confirm…

---

## [ENOKI HTTP API Request on React Native](https://forums.sui.io/t/enoki-http-api-request-on-react-native/49097)

<div class="topic-metadata">

**Author:** [@0xserkantoraman](https://forums.sui.io/u/0xserkantoraman)\
**Replies:** 5\
**Last updated:** [October 30, 2025, 11:15am UTC](https://forums.sui.io/t/enoki-http-api-request-on-react-native/49097 "2025-10-30T11:15:38Z")

</div>

We are developing a mobile app using Expo (React Native). Since the @mysten/enoki package throws an error in React Native, we want to use the Enoki HTTP API instead. However, I received an error during the /v1/zklogin/no…

---

## [Enoki ZKLogin SDK with Unity](https://forums.sui.io/t/enoki-zklogin-sdk-with-unity/49111)

<div class="topic-metadata">

**Author:** [@ec33](https://forums.sui.io/u/ec33)\
**Replies:** 0\
**Last updated:** [October 12, 2025, 9:44am UTC](https://forums.sui.io/t/enoki-zklogin-sdk-with-unity/49111 "2025-10-12T09:44:46Z")

</div>

I’ve implemented a zero-friction Google sign-in for my mini game made with Unity; Sodaclub, using Enoki ZKLogin on Sui. No more seed phrases or complex setups to start playing! What’s next? Sponsored Transactions for …

---

## [Zklogin devnet authentication issues](https://forums.sui.io/t/zklogin-devnet-authentication-issues/49094)

<div class="topic-metadata">

**Author:** [@Adob](https://forums.sui.io/u/Adob)\
**Replies:** 1\
**Last updated:** [October 8, 2025, 7:55pm UTC](https://forums.sui.io/t/zklogin-devnet-authentication-issues/49094 "2025-10-08T19:55:57Z")

</div>

Hello Sui builders, I’ve come across an issue with zklogin. Every time dev net gets reset people who are logged in to my app with zklogin get authentication issues. The solution is that they completely disconnect their …

---

## [Zklogin Signature is not valid: Signature is not valid: General cryptographic error: Groth16 proof verify failed](https://forums.sui.io/t/zklogin-signature-is-not-valid-signature-is-not-valid-general-cryptographic-error-groth16-proof-verify-failed/46090)

<div class="topic-metadata">

**Author:** [@blockchainBard](https://forums.sui.io/u/blockchainBard)\
**Replies:** 1\
**Last updated:** [May 24, 2025, 2:50pm UTC](https://forums.sui.io/t/zklogin-signature-is-not-valid-signature-is-not-valid-general-cryptographic-error-groth16-proof-verify-failed/46090 "2025-05-24T14:50:05Z")

</div>

---

## [Error in using the function parseZkLoginSignature](https://forums.sui.io/t/error-in-using-the-function-parsezkloginsignature/48244)

<div class="topic-metadata">

**Author:** [@gills0924](https://forums.sui.io/u/gills0924)\
**Replies:** 0\
**Last updated:** [May 24, 2025, 2:45pm UTC](https://forums.sui.io/t/error-in-using-the-function-parsezkloginsignature/48244 "2025-05-24T14:45:36Z")

</div>

The error is coming as this Invalid typed array length: 114 at new Uint8Array (\<anonymous\>) I am generating the signature following the guide and it is getting generated properly and matching the format also BQNMNDQzOT…

---

## [Use-sui-zklogin: seamless zkLogin integration for react](https://forums.sui.io/t/use-sui-zklogin-seamless-zklogin-integration-for-react/46855)

<div class="topic-metadata">

**Author:** [@pixelbrawlgames](https://forums.sui.io/u/pixelbrawlgames)\
**Replies:** 0\
**Last updated:** [December 20, 2024, 2:01am UTC](https://forums.sui.io/t/use-sui-zklogin-seamless-zklogin-integration-for-react/46855 "2024-12-20T02:01:14Z")

</div>

Excited to share use-sui-zklogin https://github.com/pixelbrawlgames/use-sui-zklogin with the Sui community! It’s a React hook that makes zklogin really simple to integrate to your project! We’ve been using this library …

---

## [How to import second gmail wallet in Sui wallet extension?](https://forums.sui.io/t/how-to-import-second-gmail-wallet-in-sui-wallet-extension/46489)

<div class="topic-metadata">

**Author:** [@danielfree](https://forums.sui.io/u/danielfree)\
**Replies:** 0\
**Last updated:** [November 21, 2024, 10:22am UTC](https://forums.sui.io/t/how-to-import-second-gmail-wallet-in-sui-wallet-extension/46489 "2024-11-21T10:22:41Z")

</div>

Hey guys, Recently I needed a clean new wallet fast and created it through stash. I wasn’t aware that you could create more than one wallet with your gmail account. I was able to send and receive tokens, so it obviousl…

---

## [How to get an exportable private key from ZK Account](https://forums.sui.io/t/how-to-get-an-exportable-private-key-from-zk-account/45025)

<div class="topic-metadata">

**Author:** [@i\_am\_neon](https://forums.sui.io/u/i_am_neon)\
**Replies:** 3\
**Last updated:** [November 6, 2024, 3:13pm UTC](https://forums.sui.io/t/how-to-get-an-exportable-private-key-from-zk-account/45025 "2024-11-06T15:13:23Z")

</div>

Hi, when I get the secretKey off of the exported ephemeralKeyPair (of type ExportedKeypair), the length is 22. However when I try to import it into a different wallet it doesn’t work. How can I get a private key from my …

---

## [Where could I find the circuits for zkLogin?](https://forums.sui.io/t/where-could-i-find-the-circuits-for-zklogin/45468)

<div class="topic-metadata">

**Author:** [@noble\_dolphin\_28858](https://forums.sui.io/u/noble_dolphin_28858)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 12:59am UTC](https://forums.sui.io/t/where-could-i-find-the-circuits-for-zklogin/45468 "2024-10-22T00:59:05Z")

</div>

hi friends, Where can I find the circuits for zkLogin? I cannot find the circuits repo of ZK proving service also in zkLogin Integration Guide | Sui Documentation, it just says how to call a circuit with curl, but it d…

---

## [Sui zkLogin vs Aptos Keyless](https://forums.sui.io/t/sui-zklogin-vs-aptos-keyless/46226)

<div class="topic-metadata">

**Author:** [@taqtiqa-mark](https://forums.sui.io/u/taqtiqa-mark)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 7:20am UTC](https://forums.sui.io/t/sui-zklogin-vs-aptos-keyless/46226 "2024-10-17T07:20:24Z")

</div>

Hi, I’m not a cryptographer, yet I noticed some differences between the ostensible components in zkLogin service and the Aptos Keyless service. Most noticeably the Sui salt and Aptos pepper: see: https://github.com/ap…

---

## [Can I use the same zkLogin wallet across different applications?](https://forums.sui.io/t/can-i-use-the-same-zklogin-wallet-across-different-applications/46212)

<div class="topic-metadata">

**Author:** [@alinachan](https://forums.sui.io/u/alinachan)\
**Replies:** 0\
**Last updated:** [October 16, 2024, 12:37pm UTC](https://forums.sui.io/t/can-i-use-the-same-zklogin-wallet-across-different-applications/46212 "2024-10-16T12:37:54Z")

</div>

When using zkLogin to create an account for a specific application, the wallet address generated for you is unique to that app and OAuth provider (e.g. Google). This is because zkLogin derives the address based on severa…

---

## [Why is the zkLogin self-custody?](https://forums.sui.io/t/why-is-the-zklogin-self-custody/45169)

<div class="topic-metadata">

**Author:** [@shu](https://forums.sui.io/u/shu)\
**Replies:** 1\
**Last updated:** [January 5, 2024, 6:37pm UTC](https://forums.sui.io/t/why-is-the-zklogin-self-custody/45169 "2024-01-05T18:37:37Z")

</div>

Why is the zkLogin self-custody? I think if OAuth Providers impersonate a user, they can also get user’s salt by using a jwt which they generate and they can transact.

---

## [Why does nonce fail validation? Computed nonce does not match input](https://forums.sui.io/t/why-does-nonce-fail-validation-computed-nonce-does-not-match-input/45088)

<div class="topic-metadata">

**Author:** [@QuestionBot](https://forums.sui.io/u/QuestionBot)\
**Replies:** 1\
**Last updated:** [October 26, 2023, 11:27am UTC](https://forums.sui.io/t/why-does-nonce-fail-validation-computed-nonce-does-not-match-input/45088 "2023-10-26T11:27:34Z")

</div>

I am getting an error where the computed nonce does not match the input. Why is this?

---

## [How viable is zkLogin without an independent backend proving service?](https://forums.sui.io/t/how-viable-is-zklogin-without-an-independent-backend-proving-service/45090)

<div class="topic-metadata">

**Author:** [@kylebuildsstuff](https://forums.sui.io/u/kylebuildsstuff)\
**Replies:** 4\
**Last updated:** [November 21, 2023, 4:27pm UTC](https://forums.sui.io/t/how-viable-is-zklogin-without-an-independent-backend-proving-service/45090 "2023-11-21T16:27:08Z")

</div>

I noticed most implementations of zkLogin require a separate backend proving service, but am interested in trying to keep things as simple as possible and wonder how viable would it be to use zkLogin just in the client? …

---

## [InputValidationError in Proving Service](https://forums.sui.io/t/inputvalidationerror-in-proving-service/45030)

<div class="topic-metadata">

**Author:** [@i\_am\_neon](https://forums.sui.io/u/i_am_neon)\
**Replies:** 1\
**Last updated:** [October 2, 2023, 5:17pm UTC](https://forums.sui.io/t/inputvalidationerror-in-proving-service/45030 "2023-10-02T17:17:27Z")

</div>

I’m using the Mysten proving service and getting this back: proof: { "name": "InputValidationError", "message": "The audience 123-abc.apps.googleusercontent.com is not supported" } What might be wrong?

---

## [If zkLogin zkp expires, is there any error message?](https://forums.sui.io/t/if-zklogin-zkp-expires-is-there-any-error-message/45008)

<div class="topic-metadata">

**Author:** [@teohaik](https://forums.sui.io/u/teohaik)\
**Replies:** 0\
**Last updated:** [September 25, 2023, 10:29am UTC](https://forums.sui.io/t/if-zklogin-zkp-expires-is-there-any-error-message/45008 "2023-09-25T10:29:32Z")

</div>

Answer: If you submit a expired proof in the zklogin signature, it just won’t verify and fail the tx execution
