Authentication for Rise Apps
Rise can protect deployed applications and pass the authenticated user identity to the app as a signed JWT.
How it works
Section titled “How it works”When a user opens a protected Rise-deployed application:
- Rise authenticates the user via OAuth2/OIDC, for example through Dex.
- Rise issues an RS256-signed JWT token with user information.
- The JWT is stored in the
rise_jwtcookie. - Your application validates the cookie before trusting the user identity.
Token types: Rise issues HS256-signed JWTs for API/CLI authentication and RS256-signed JWTs for application ingress authentication. Applications should only accept RS256 app tokens whose
audclaim matches the app URL.
Read next
Section titled “Read next”rise_jwtCookie describes the cookie, JWT header, claims, expiration, and security properties.- Validating JWTs explains OIDC discovery, JWKS lookup, validation checks, environment variables, and troubleshooting.
- Example Code shows Express middleware and group-based authorization in TypeScript.
Additional resources
Section titled “Additional resources”- Authentication — user login, service accounts, app users
- OAuth Extensions — OAuth proxy for third-party providers
- Environment Variables — auto-injected variables reference