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
@@ -522,6 +522,9 @@ Content = Content
522
522
SSPISeparatorReplacement = Separator
523
523
SSPIDefaultLanguage = Default Language
524
524
525
+
SAMLMetadata = Either SAML Identity Provider metadata URL or XML
526
+
SAMLMetadataURL = SAML Identity Provider metadata URL is invalid
527
+
525
528
require_error = ` cannot be empty.`
526
529
alpha_dash_error = ` should contain only alphanumeric, dash ('-') and underscore ('_') characters.`
527
530
alpha_dash_dot_error = ` should contain only alphanumeric, dash ('-'), underscore ('_') and dot ('.') characters.`
@@ -3026,7 +3029,18 @@ auths.sspi_separator_replacement = Separator to use instead of \, / and @
3026
3029
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]").
3027
3030
auths.sspi_default_language = Default user language
3028
3031
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