{% extends "base.html" %} {% block title %}Settings - NanoIDP{% endblock %} {% block content %}

IdP Settings

{# An unchecked checkbox never submits, so on its own it looks identical to a checkbox that was never on the form. These markers let the server apply "absent = unchanged" (#131): a checkbox is only interpreted when its marker is present. One marker per checkbox rendered below. #}
OAuth2 / OIDC Settings
Base URL used in JWT "iss" claim
Use each request's own Host header instead of the Issuer URL above (discovery, tokens, device flow all agree per-hostname; dev convenience for setups reachable under more than one hostname).
Origins allowed to be reflected back by "Derive Issuer from Request". Empty = allow any Host header (dev convenience). A non-matching Host falls back to the Issuer URL above.
Overrides the device flow's verification_uri when "Derive Issuer from Request" is on, so a backend/container caller's Host doesn't leak into a URL the human's browser can't reach. Leave blank to keep following the request Host.
Trust X-Forwarded-Proto/Host/For from a single reverse-proxy hop in front of NanoIDP (applies ProxyFix). Only changes the derived issuer above when "Derive Issuer from Request" is also on; always affects rate-limit and audit-log client IP attribution. Only enable this behind exactly one trusted proxy - these headers are otherwise spoofable. Takes effect on the next app restart.
Default audience for JWT "aud" claim
How long tokens are valid (default: 60 minutes)
Reject /authorize requests without a PKCE code_challenge (on by default in stricter-dev and implied by oauth21).
Each refresh invalidates the used refresh token; reuse revokes its rotation family (forced on by oauth21).
SAML Settings
SAML IdP Entity ID
SAML Single Sign-On endpoint
Default Assertion Consumer Service URL
Enable XML signature on SAML responses. Disable for testing unsigned flows.
Enforce SAML 2.0 binding compliance. When enabled, rejects GET requests with uncompressed data.
Verify AuthnRequest signatures (both bindings) against the registered SP certificates; advertised as WantAuthnRequestsSigned in metadata.
PEM certificate files of SPs whose AuthnRequest signatures are accepted.
XML canonicalization algorithm for SAML signatures
Include the user's roles in SAML assertions and AttributeQuery responses. Off by default.
Name used when the export above is on. Common values: roles, Role, http://schemas.microsoft.com/ws/2008/06/identity/claims/role.
Include the user's groups in SAML assertions and AttributeQuery responses. Off by default.
Name used when the export above is on. Common values: groups, memberOf.
Allowed Identity Classes
One identity class per line (e.g., INTERNAL, EXTERNAL, PARTNER, SERVICE)
Preview Changes
Click "Refresh" to preview changes
IdP Endpoints
OIDC Discovery /.well-known/openid-configuration
JWKS Endpoint /.well-known/jwks.json
Token Endpoint /token
SAML Metadata /saml/metadata
SAML SSO /saml/sso
{% endblock %} {% block extra_js %} {% endblock %}