Skip to content

feat: add API endpoint for retrieving OIDC logout URL #17015

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore: add auto generated files
  • Loading branch information
esifea committed Apr 3, 2025
commit 99c1e59e015c8f5a59e2195f11f3589737a01734
5 changes: 1 addition & 4 deletions cli/testdata/coder_server_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -592,10 +592,7 @@ OIDC OPTIONS:
--oidc-username-field string, $CODER_OIDC_USERNAME_FIELD (default: preferred_username)
OIDC claim field to use as the username.

--logout-endpoint string, $CODER_OIDC_LOGOUT_ENDPOINT
OIDC endpoint for logout.

--logout-redirect-uri string, $CODER_OIDC_LOGOUT_URI
--oidc-logout-redirect-uri string, $CODER_OIDC_LOGOUT_URI
OIDC redirect URI after logout.

--oidc-sign-in-text string, $CODER_OIDC_SIGN_IN_TEXT (default: OpenID Connect)
Expand Down
3 changes: 0 additions & 3 deletions cli/testdata/server-config.yaml.golden
Original file line number Diff line number Diff line change
Expand Up @@ -401,9 +401,6 @@ oidc:
# an insecure OIDC configuration. It is not recommended to use this flag.
# (default: <unset>, type: bool)
dangerousSkipIssuerChecks: false
# OIDC endpoint for logout.
# (default: <unset>, type: string)
logoutEndpoint: ""
# OIDC redirect URI after logout.
# (default: <unset>, type: string)
logoutRedirectURI: ""
Expand Down
12 changes: 1 addition & 11 deletions docs/reference/cli/server.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions enterprise/cli/testdata/coder_server_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -593,10 +593,7 @@ OIDC OPTIONS:
--oidc-username-field string, $CODER_OIDC_USERNAME_FIELD (default: preferred_username)
OIDC claim field to use as the username.

--logout-endpoint string, $CODER_OIDC_LOGOUT_ENDPOINT
OIDC endpoint for logout.

--logout-redirect-uri string, $CODER_OIDC_LOGOUT_URI
--oidc-logout-redirect-uri string, $CODER_OIDC_LOGOUT_URI
OIDC redirect URI after logout.

--oidc-sign-in-text string, $CODER_OIDC_SIGN_IN_TEXT (default: OpenID Connect)
Expand Down