Skip to content

Commit

Permalink
chore: remove test that relay on fetching well-known from google idp
Browse files Browse the repository at this point in the history
  • Loading branch information
lsjostro committed Oct 1, 2024
1 parent cd4ff48 commit 96dbad0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions oidc/oidc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,4 @@ import (
func TestOIDCProvider(t *testing.T) {
_, err := NewOIDCProvider("", "", "", "", nil)
assert.Error(t, err)

// test google provider
p, err := NewOIDCProvider("client_id", "client_secret", "http://localhost:8080", "https://accounts.google.com", []string{"email", "profile"})
assert.NotNil(t, p)
assert.Nil(t, err)

url := p.IdpAuthURL("code_challenge123")
assert.NotEmpty(t, url)
}

0 comments on commit 96dbad0

Please sign in to comment.