You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/usage/authentication.en-us.md
+69Lines changed: 69 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -349,3 +349,72 @@ If set `ENABLE_REVERSE_PROXY_FULL_NAME=true`, a user full name expected in `X-WE
349
349
You can also limit the reverse proxy's IP address range with `REVERSE_PROXY_TRUSTED_PROXIES` which default value is `127.0.0.0/8,::1/128`. By `REVERSE_PROXY_LIMIT`, you can limit trusted proxies level.
350
350
351
351
Notice: Reverse Proxy Auth doesn't support the API. You still need an access token or basic auth to make API requests.
352
+
353
+
## SAML
354
+
355
+
### Configuring Gitea as a SAML 2.0 Service Provider
Currently, auto-registration is not supported for SAML. During the external account linking process the user will be prompted to set a username and email address or link to an existing account.
364
+
365
+
SAML group mapping is not supported.
366
+
367
+
#### Settings
368
+
369
+
-`Authentication Name`**(required)**
370
+
371
+
- The name of this authentication source (appears in the Gitea ACS and metadata URLs)
372
+
373
+
-`SAML NameID Format`**(required)**
374
+
375
+
- This specifies how Identity Provider (IdP) users are mapped to Gitea users. This option will be provider specific.
376
+
377
+
-`Icon URL` (optional)
378
+
379
+
- URL of an icon to display on the Sign-In page for this authentication source.
Copy file name to clipboardExpand all lines: options/locale/locale_en-US.ini
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -523,6 +523,9 @@ Content = Content
523
523
SSPISeparatorReplacement = Separator
524
524
SSPIDefaultLanguage = Default Language
525
525
526
+
SAMLMetadata = Either SAML Identity Provider metadata URL or XML
527
+
SAMLMetadataURL = SAML Identity Provider metadata URL is invalid
528
+
526
529
require_error = ` cannot be empty.`
527
530
alpha_dash_error = ` should contain only alphanumeric, dash ('-') and underscore ('_') characters.`
528
531
alpha_dash_dot_error = ` should contain only alphanumeric, dash ('-'), underscore ('_') and dot ('.') characters.`
@@ -3033,7 +3036,18 @@ auths.sspi_separator_replacement = Separator to use instead of \, / and @
3033
3036
auths.sspi_separator_replacement_helper = The character to use to replace the separators of down-level logon names (eg. the \ in "DOMAIN\user") and user principal names (eg. the @ in "[email protected]").
3034
3037
auths.sspi_default_language = Default user language
3035
3038
auths.sspi_default_language_helper = Default language for users automatically created by SSPI auth method. Leave empty if you prefer language to be automatically detected.
0 commit comments