OpenID Connect
Server-side OIDC
Rhea Key is a standard OpenID Connect provider. The issuer for website integrations is https://rheakey.com. Do not use auth.rheakey.com for this path; that host is a different service.
https://rheakey.com/.well-known/openid-configurationIssuer: https://rheakey.com
Discovery: https://rheakey.com/.well-known/openid-configuration
Flow: authorization code + PKCE (S256)
Scopes: openid profile
Token auth: client_secret_post, or none for a public client
ID token: ES256
Claims: sub, rhea_address// Issuer is https://rheakey.com — not auth.rheakey.com
import NextAuth from "next-auth";
import RheaKey from "@rheakey/sdk/authjs";
export const { handlers, auth } = NextAuth({
providers: [RheaKey({
clientId: process.env.RHEA_CLIENT_ID,
clientSecret: process.env.RHEA_CLIENT_SECRET,
issuer: "https://rheakey.com",
})],
});Authorization uses the code flow with PKCE (S256). Verify the ID token on your server, then create your own session. Hardware assurance is not currently issued; do not treat a local device check as a hardware guarantee.
