The response body is an array of objects, where each object has the following structure:
Field
Type
Description
provider
string
is_active
boolean
client_id
string
ID of application used for OAuth authentication.
client_secret
string
Application secret key.
verify_ssl
boolean
enable_post_logout_redirect
boolean
enable_pkce
boolean
discovery_url
string
The endpoint for endpoint discovery.
userinfo_url
string
The endpoint for fetching user info.
token_url
string
The endpoint for obtaining auth token.
auth_url
string
The endpoint for authorization request flow.
logout_url
string
The endpoint used to redirect after sign-out.
label
string
Human-readable identity provider is label.
management_url
string
The endpoint for user details management.
protected_fields
any
extra_scope
string
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
201 -
Field
Type
Description
provider
string
is_active
boolean
client_id
string
ID of application used for OAuth authentication.
client_secret
string
Application secret key.
verify_ssl
boolean
enable_post_logout_redirect
boolean
enable_pkce
boolean
discovery_url
string
The endpoint for endpoint discovery.
userinfo_url
string
The endpoint for fetching user info.
token_url
string
The endpoint for obtaining auth token.
auth_url
string
The endpoint for authorization request flow.
logout_url
string
The endpoint used to redirect after sign-out.
label
string
Human-readable identity provider is label.
management_url
string
The endpoint for user details management.
protected_fields
any
extra_scope
string
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
200 -
Field
Type
Description
provider
string
is_active
boolean
client_id
string
ID of application used for OAuth authentication.
client_secret
string
Application secret key.
verify_ssl
boolean
enable_post_logout_redirect
boolean
enable_pkce
boolean
discovery_url
string
The endpoint for endpoint discovery.
userinfo_url
string
The endpoint for fetching user info.
token_url
string
The endpoint for obtaining auth token.
auth_url
string
The endpoint for authorization request flow.
logout_url
string
The endpoint used to redirect after sign-out.
label
string
Human-readable identity provider is label.
management_url
string
The endpoint for user details management.
protected_fields
any
extra_scope
string
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
200 -
Field
Type
Description
provider
string
is_active
boolean
client_id
string
ID of application used for OAuth authentication.
client_secret
string
Application secret key.
verify_ssl
boolean
enable_post_logout_redirect
boolean
enable_pkce
boolean
discovery_url
string
The endpoint for endpoint discovery.
userinfo_url
string
The endpoint for fetching user info.
token_url
string
The endpoint for obtaining auth token.
auth_url
string
The endpoint for authorization request flow.
logout_url
string
The endpoint used to redirect after sign-out.
label
string
Human-readable identity provider is label.
management_url
string
The endpoint for user details management.
protected_fields
any
extra_scope
string
Space-separated list of scopes to request during authentication.
user_field
string
The field in Waldur User model to be used for looking up the user
user_claim
string
The OIDC claim from the userinfo endpoint to be used as the value for the lookup field.
attribute_mapping
any
A JSON object mapping Waldur User model fields to OIDC claims. Example:
extra_fields
string
Space-separated list of extra fields to persist.
allowed_redirects
any
List of allowed redirect URLs for OAuth authentication. URLs must be exact matches (origin only: scheme + domain + port). HTTPS required except for localhost. No wildcards, paths, query params, or fragments. Example: ["https://portal1.example.com", "https://portal2.example.com:8443"]. If empty, falls back to HOMEPORT_URL setting.
Fetches OIDC discovery metadata from the provider and returns supported claims, scopes, and suggested mappings to Waldur User fields. Use this to configure attribute_mapping when setting up a new identity provider.
Waldur User fields with suggested OIDC claim mappings
waldur_fields.field
string
Waldur User model field name
waldur_fields.description
string
Human-readable field description
waldur_fields.suggested_claims
array of strings
OIDC claims that could map to this field, ordered by likelihood
waldur_fields.available_claims
array of strings
Claims from this IdP that match the suggestions
suggested_scopes
array of strings
Recommended scopes to request based on claim mappings
Generate default attribute mapping
Generates a suggested attribute_mapping configuration based on the claims supported by an OIDC provider. This can be used as a starting point when creating a new identity provider.