Skip to content

Commit b6a7f36

Browse files
authored
always open IdP login screen (#1366)
1 parent 41ea7ff commit b6a7f36

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/pkg/auth/auth.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,6 @@ func StartAuthCodeFlow(ctx context.Context, mcpFlow LoginFlow) (AuthCodeFlow, er
176176
opts := []AuthorizeOption{
177177
WithPkce(),
178178
}
179-
if !mcpFlow {
180-
opts = append(opts, WithProvider("github"))
181-
}
182179
ar, err := openAuthClient.Authorize(redirectUri, CodeResponseType, opts...)
183180
if err != nil {
184181
return AuthCodeFlow{}, err

0 commit comments

Comments
 (0)