When you sign in with Google, Apple or X, GUM uses OpenIDZK to open your
[Universal Account](/accounts/universal-accounts). A zero-knowledge proof shows
[GUM Network](/how-gum-works) that you hold a valid login, without revealing who you
are on-chain. The proof is handled for you.

<Note>
  New Apple sign-ups are paused during an Apple sign-in migration.
</Note>

## What stays private, and what doesn't

**Your email and social account ID never go on-chain, and GUM doesn't store
them.**

Some things aren't private:

- GUM's sign-in services check your login token when you sign in.
- The chain can see which login provider an account uses.
- Your account address and transactions are public on GUM Network.
- Your login provider knows you signed in to GUM.

## How a sign-in works

<Steps>
  <Step title="The app creates a session key on your device">
    Its fingerprint goes into your sign-in request.
  </Step>
  <Step title="You sign in with the provider">
    Your signed login token carries that fingerprint, so it can't start a
    different session.
  </Step>
  <Step title="A proof is generated">
    It shows that the token is valid, matches your account and belongs to this
    session. This takes a few seconds.
  </Step>
  <Step title="The proof and session key authorise your transactions">
    GUM Network checks both on every transaction, so you wait for the proof once per
    sign-in, not once per trade.
  </Step>
</Steps>

For what the proof checks, see [OpenIDZK proofs](/protocol/openidzk-proofs).

## Why you may be signed out early

Sessions last
[about two weeks](/accounts/universal-accounts#approvals-and-sessions), but
Google, Apple and X sign logins with keys that get replaced from time to time.
Once the key that signed your login is retired, GUM Network stops accepting your
session. Your account and funds aren't affected: sign in again the same way.

## FAQ

<AccordionGroup>
  <Accordion title="What if I lose access to my Google, Apple or X account?">
    You can't sign in to that GUM account until you get it back, and GUM can't
    recover it for you yet. Anyone who gets into it can also sign in to your GUM
    account, so turn on two-factor authentication there.
  </Accordion>
</AccordionGroup>
