ultisuite-backend/internal/api/apiresponse/codes.go
R3D347HR4Y d3c930cac6
Some checks are pending
CI / Go tests (push) Waiting to run
CI / Integration tests (push) Waiting to run
CI / DB migrations (push) Waiting to run
feat(identity-providers): add management for identity providers in admin API
- Introduced new endpoints for managing identity providers, including retrieval of redirect URIs and testing/syncing providers.
- Enhanced organization settings to include identity provider configurations, allowing for self-enrollment and domain restrictions.
- Implemented caching for access policies and added validation for identity provider secrets.
- Added integration tests to ensure proper functionality of identity provider management and policy enforcement.
2026-06-09 09:36:38 +02:00

20 lines
712 B
Go

package apiresponse
// Standard API error codes.
const (
CodeAuthUnavailable = "auth.unavailable"
CodeAuthMissingAuthorization = "auth.missing_authorization"
CodeAuthInvalidAuthorization = "auth.invalid_authorization"
CodeAuthInvalidToken = "auth.invalid_token"
CodeAuthUnauthorized = "auth.unauthorized"
CodeAuthForbidden = "auth.forbidden"
CodeIdentityNotAllowed = "auth.identity_not_allowed"
CodeInvalidQueryParam = "invalid_query_param"
CodeInvalidRequest = "invalid_request_body"
CodeNotFound = "not_found"
CodeInternal = "internal_error"
CodePayloadTooLarge = "request_body_too_large"
CodeRateLimited = "rate_limited"
)