GET /auth/me/access — canonical effective access
GET /auth/me/access
Single canonical endpoint for resolving effective access (modules, permissions, delegation) for the authenticated user in the active company.
Frontend bootstrap mode: Authorization + x-org. Do not send X-Internal-API-Key from browsers.
Backend enforcement mode: same headers plus X-Internal-API-Key matching AUTH_INTERNAL_API_KEY so Auth can trust the calling service.
Do not use query parameters for company selection; company context must be supplied via the x-org header.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”Effective access resolved for the user in the company from x-org.
object
object
Example
ADMINobject
object
Missing or invalid x-org, or invalid request context.
object
object
Example
validation_errorMissing, invalid, expired, or revoked bearer token.
object
object
Example
validation_errorNo membership in the company from x-org, or access forbidden.
object
object
Example
validation_errorAuth cannot complete resolution (e.g. upstream Core unavailable or timeout).
object
object
Example
validation_error