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
Add GOTIFY_OIDC_AUTO_REDIRECT to skip the login page and redirect
straight to the configured OIDC provider. Only takes effect when
local auth is disabled, since local login would otherwise be
unreachable.
Add GOTIFY_OIDC_AUTO_REDIRECT_REQUIRE_REAUTH (default false) to send
prompt=login on that redirect, so logging out of Gotify doesn't
silently log the user back in via an existing IdP session. Does not
end that IdP session, so other apps using it are unaffected.
Wire both flags through gotifyinfo/injected UI config and the WebUI
login page, which now redirects instead of showing the OIDC button
when enabled.
Copy file name to clipboardExpand all lines: docs/spec.json
+8-1Lines changed: 8 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2948,7 +2948,8 @@
2948
2948
"register",
2949
2949
"localAuth",
2950
2950
"oidc",
2951
-
"oidcIdpName"
2951
+
"oidcIdpName",
2952
+
"oidcAutoRedirect"
2952
2953
],
2953
2954
"properties": {
2954
2955
"localAuth": {
@@ -2963,6 +2964,12 @@
2963
2964
"x-go-name": "Oidc",
2964
2965
"example": true
2965
2966
},
2967
+
"oidcAutoRedirect": {
2968
+
"description": "If the WebUI should automatically redirect to the OIDC identity\nprovider instead of showing the login page. Always false while local\nauthentication is enabled.",
2969
+
"type": "boolean",
2970
+
"x-go-name": "OIDCAutoRedirect",
2971
+
"example": false
2972
+
},
2966
2973
"oidcIdpName": {
2967
2974
"description": "Name of the OIDC identity provider.",
0 commit comments