# idToken from getAuthTokenInfo() has iss="web3auth.io" and a kid that is not in any published JWKS (sapphire\_devnet, @web3auth/modal 11.4.0)

**URL:** <https://builder.metamask.io/t/idtoken-from-getauthtokeninfo-has-iss-web3auth-io-and-a-kid-that-is-not-in-any-published-jwks-sapphire-devnet-web3auth-modal-11-4-0/3506>\
**Category:** Embedded Wallets (Web3Auth)\
**Created:** [September 6, 2026, 8:19am UTC](https://builder.metamask.io/t/idtoken-from-getauthtokeninfo-has-iss-web3auth-io-and-a-kid-that-is-not-in-any-published-jwks-sapphire-devnet-web3auth-modal-11-4-0/3506 "2026-09-06T08:19:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![junji\_hirama](https://yyz1.discourse-cdn.com/flex011/user_avatar/builder.metamask.io/junji_hirama/32/3928_2.png) [@junji\_hirama](https://builder.metamask.io/u/junji_hirama)\
**Post date:** [September 6, 2026, 8:19am UTC](https://builder.metamask.io/t/idtoken-from-getauthtokeninfo-has-iss-web3auth-io-and-a-kid-that-is-not-in-any-published-jwks-sapphire-devnet-web3auth-modal-11-4-0/3506/1 "2026-09-06T08:19:57Z")

</div>

## Summary

Server-side verification of the identity token fails because the token returned by

getAuthTokenInfo() is signed with a key that is not published in any JWKS endpoint we can

find, and its `iss` claim does not match the documented value.

We would like to know which JWKS endpoint serves this key, or what we are doing wrong.

## Questions

1. Which JWKS endpoint serves the key with

kid = 5Imw8N7KYnswBTF09jMFz8OzgQF8jZSaOQ1buVP5x14 ?

2. Why is iss “[web3auth.io](http://web3auth.io)” rather than the documented “[https://api-auth.web3auth.io](https://api-auth.web3auth.io)”?

Is this expected on sapphire\_devnet? The dashboard warns that "Devnet undergoes

periodic key rotations" - is the devnet signing key intentionally not published on the

production JWKS endpoint?

3. Would a sapphire\_mainnet project return a token with the documented iss and a kid that

is present in [https://api-auth.web3auth.io/jwks](https://api-auth.web3auth.io/jwks) ?

4. In @web3auth/modal 11.4.0, is getAuthTokenInfo() the correct way to obtain the

backend-verifiable identity token? The docs reference getIdentityToken(), which is not

present in this version.

5. For Sapphire (MPC), which wallets[] entry corresponds to the EVM address returned by

the EIP-1193 provider - web3auth\_app\_key or web3auth\_threshold\_key? We need this to

match a personal\_sign signature against the correct public key.

Thank you.

---

<div class="post-metadata">

**Author:** ![shana](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@shana](https://builder.metamask.io/u/shana)\
**Post date:** [September 7, 2026, 1:51pm UTC](https://builder.metamask.io/t/idtoken-from-getauthtokeninfo-has-iss-web3auth-io-and-a-kid-that-is-not-in-any-published-jwks-sapphire-devnet-web3auth-modal-11-4-0/3506/2 "2026-09-07T13:51:19Z")

</div>

Hi there,

1. **JWKS:** For `kid=5Imw8N7...`, use the v11 Citadel JWKS:  
`https://api.web3auth.io/citadel-service/.well-known/jwks.json`  
— not `api-auth.web3auth.io/jwks`.
2. **Issuer:** `iss: "web3auth.io"` is expected with the v11 token flow. The documented `https://api-auth.web3auth.io` issuer/JWKS is outdated for this flow.
3. **Mainnet:** Don’t assume Sapphire mainnet will use the old issuer/JWKS either; v11 can use the Citadel issuer/key infrastructure.
4. **`getAuthTokenInfo()`:** Yes. In `@web3auth/modal` v11, this replaces the older `getIdentityToken()` API.
5. **EVM wallet:** For matching the EIP-1193 EVM address/signature, use the `wallets[]` entry with:  
`type: "web3auth_threshold_key"` and `curve: "secp256k1"`.

So your backend verification should essentially be:

```auto
getAuthTokenInfo()
       ↓
JWT
       ↓
JWKS: api.web3auth.io/citadel-service/.well-known/jwks.json
issuer: "web3auth.io"
       ↓
wallets[].type = "web3auth_threshold_key"

```

The documentation appears to lag behind the v11 implementation. Please let us know if you have any questions.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/metamaskbuilderhub/original/2X/2/2cbaf43932fb7c6c6950641257a74dcb420f7b8c.svg) [@system](https://builder.metamask.io/u/system)\
**Post date:** [October 20, 2026, 12:13pm UTC](https://builder.metamask.io/t/idtoken-from-getauthtokeninfo-has-iss-web3auth-io-and-a-kid-that-is-not-in-any-published-jwks-sapphire-devnet-web3auth-modal-11-4-0/3506/3 "2026-10-20T12:13:53Z")

</div>

Hi,

The key `5Imw8N7KYnswBTF09jMFz8OzgQF8jZSaOQ1buVP5x14` is on [https://api.web3auth.io/citadel-service/.well-known/jwks.json](https://api.web3auth.io/citadel-service/.well-known/jwks.json). It is not on [https://api-auth.web3auth.io/jwks](https://api-auth.web3auth.io/jwks).

`iss: "web3auth.io"` is what `getAuthTokenInfo()` returns in `@web3auth/modal` v11, including Sapphire Devnet. The identity-token page still shows `https://api-auth.web3auth.io`. That page is behind this SDK. Do not expect Sapphire Mainnet to switch back to the old issuer. Check `aud` against your project client ID.

`getAuthTokenInfo()` is the call in modal 11.4.0. `getIdentityToken()` is the older name.

For the EVM address, use the `wallets[]` entry with `type: "web3auth_app_key"` and `curve: "secp256k1"`. Match `personal_sign` to that public key. The `ed25519` entry is not the EVM key.

- [Embedded Wallets identity token | MetaMask developer documentation](https://docs.metamask.io/embedded-wallets/authentication/id-token)
- [getAuthTokenInfo | MetaMask developer documentation](https://docs.metamask.io/embedded-wallets/sdk/js/usage/get-auth-token-info)

> Note: This response was generated by an AI bot and may require further verification. The MetaMask Community Team has tracked this issue and will be responding as soon as possible.
