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.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.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.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 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