mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add CODER_OIDC_IGNORE_EMAIL_VERIFIED config knob (#5165)
* Adds a configuration knob CODER_OIDC_IGNORE_EMAIL_VERIFIED that allows ignoring the email_verified OIDC claim * Adds warning message at startup if CODER_OIDC_IGNORE_EMAIL_VERIFIED=true * Adds warning whenever an unverified OIDC email is let through * Skips flaky test on non-linux platforms Co-authored-by: Mathias Fredriksson <mafredri@gmail.com>
This commit is contained in:
co-authored by
Mathias Fredriksson
parent
6ed12ade54
commit
a4a319a76e
@@ -23,8 +23,8 @@ import (
|
||||
|
||||
func Test_Runner(t *testing.T) {
|
||||
t.Parallel()
|
||||
if runtime.GOOS == "windows" {
|
||||
t.Skip("PTY is flakey on Windows")
|
||||
if runtime.GOOS != "linux" {
|
||||
t.Skip("PTY is flakey on non-Linux platforms")
|
||||
}
|
||||
|
||||
t.Run("OK", func(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user