appauth.getConfig
Get app-auth policy and provider status. Provider secrets are never returned.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Risk:
read
Example
Responses
Response body (200)
appauth.updateConfig
Create or update app-auth policy using exact browser origins and redirect URLs.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
admin - Risk:
write
Request body
Example
Responses
Response body (200)
appauth.deleteConfig
Delete app-auth configuration, users, identities, sessions, and retained audit history.- Auth: Dashboard session only — organization API keys are rejected.
- Minimum role:
owner - Risk:
destructive· sensitive (elevated blast radius)
Example
Responses
appauth.setGoogleProvider
Configure Google OAuth with the customer’s client id and a secret encrypted at ingestion.- Auth: Dashboard session only — organization API keys are rejected.
- Minimum role:
owner - Risk:
write· sensitive (elevated blast radius)
Request body
Example
Responses
Response body (200)
appauth.rotateGoogleSecret
Replace the encrypted Google OAuth secret and increment its rotation version.- Auth: Dashboard session only — organization API keys are rejected.
- Minimum role:
owner - Risk:
dangerous· sensitive (elevated blast radius)
Request body
Example
Responses
Response body (200)
appauth.setGithubProvider
Configure GitHub OAuth with the customer’s client id and a secret encrypted at ingestion.- Auth: Dashboard session only — organization API keys are rejected.
- Minimum role:
owner - Risk:
write· sensitive (elevated blast radius)
Request body
Example
Responses
Response body (200)
appauth.rotateGithubSecret
Replace the encrypted GitHub OAuth secret and increment its rotation version.- Auth: Dashboard session only — organization API keys are rejected.
- Minimum role:
owner - Risk:
dangerous· sensitive (elevated blast radius)
Request body
Example
Responses
Response body (200)
appauth.listUsers
Search and page customer-app users, newest first.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Risk:
read
Query parameters
Example
Responses
Response body (200)
appauth.getUser
Inspect a customer-app user, identities, and active or recent sessions.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
member - Risk:
read
Example
Responses
Response body (200)
appauth.revokeUserSessions
Revoke every active session for one customer-app user and record an audit event.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
admin - Risk:
dangerous· sensitive (elevated blast radius)
Example
Responses
appauth.disableUser
Disable a customer-app user, revoke every session, and record an audit event.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
admin - Risk:
dangerous· sensitive (elevated blast radius)
Example
Responses
Response body (200)
appauth.enableUser
Re-enable a disabled customer-app user and record an audit event.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
admin - Risk:
write
Example
Responses
Response body (200)
appauth.listAuditEvents
Page retained app-auth security events without credentials or token contents.- Auth: Organization API key (
Authorization: Bearer korve_...) or dashboard session. - Minimum role:
admin - Risk:
read
Query parameters
Example
Responses
Response body (200)
appauth.getPublicConfig
Get public provider availability and session policy for an enabled project.- Auth: None — public endpoint.
- Risk:
read
Path parameters
Example
Responses
Response body (200)
appauth.startGoogle
Create a single-use state, nonce, and PKCE challenge for an exact allowed redirect URL.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
Response body (200)
appauth.startGithub
Create a single-use provider-bound state and PKCE challenge for an exact allowed redirect URL.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
Response body (200)
appauth.signUpPassword
Register an email credential and send a single-use verification link. The response is intentionally identical when the email already exists.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
appauth.signInPassword
Sign in a verified application user with a password. Authentication failures use one enumeration-resistant response.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
Response body (200)
appauth.requestMagicLink
Send a single-use passwordless sign-in link whose token is delivered in the URL fragment. The response never reveals whether an account existed.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
appauth.completeMagicLink
Consume the single-use token read from an email-link URL fragment and return a new application session.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
Response body (200)
appauth.requestPasswordReset
Send a single-use password reset link whose token is delivered in the URL fragment. The response never reveals whether an account existed.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
appauth.completePasswordReset
Consume a single-use reset token, replace the password hash, and revoke existing sessions.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
appauth.googleCallback
Validate the one-time OAuth state and Google response, then redirect with a short-lived exchange code.- Auth: None — public endpoint.
- Risk:
read
Path parameters
Query parameters
Example
Responses
appauth.githubCallback
Validate the provider-bound one-time OAuth state and GitHub response, then redirect with a short-lived exchange code.- Auth: None — public endpoint.
- Risk:
read
Path parameters
Query parameters
Example
Responses
appauth.exchangeCode
Consume a one-time authorization code and return a new app session.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
Response body (200)
appauth.getSession
Return the current project-scoped app user and session expiry.- Auth: Project App Auth access token (
Authorization: Bearer $APP_ACCESS_TOKEN). - Risk:
read
Path parameters
Example
Responses
Response body (200)
appauth.refreshSession
Atomically consume one refresh token and rotate both session tokens; reuse, idle expiry, or absolute expiry revokes the session.- Auth: None — public endpoint.
- Risk:
write
Path parameters
Request body
Example
Responses
Response body (200)
appauth.signOut
Revoke the current app session and all of its refresh tokens.- Auth: Project App Auth access token (
Authorization: Bearer $APP_ACCESS_TOKEN). - Risk:
write