Skip to content

Commit ca61b6a

Browse files
authored
Merge pull request #259 from trungutt/remove-hacky-code
Remove hacky code around Oauth
2 parents 17f987c + 78e582a commit ca61b6a

2 files changed

Lines changed: 1 addition & 276 deletions

File tree

pkg/oauth/discovery.go

Lines changed: 0 additions & 275 deletions
This file was deleted.

pkg/oauth/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func (m *manager) performOAuthAuthorization(ctx context.Context, sessionID strin
114114
}
115115

116116
// Get the authorization URL using our corrected implementation
117-
authURL, err := GetAuthorizationURL(ctx, oauthHandler, state, codeChallenge)
117+
authURL, err := oauthHandler.GetAuthorizationURL(ctx, state, codeChallenge)
118118
if err != nil {
119119
return fmt.Errorf("failed to get authorization URL: %w", err)
120120
}

0 commit comments

Comments
 (0)