Skip to content

Commit d7da81d

Browse files
committed
fix comment for twitch login
1 parent e49e315 commit d7da81d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

server/handlers/oauth_callback.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -722,8 +722,6 @@ func processTwitchUserInfo(ctx context.Context, code string) (*models.User, erro
722722
log.Debug("Failed to extract ID Token from OAuth2 token")
723723
return nil, fmt.Errorf("unable to extract id_token")
724724
}
725-
726-
// we need to skip issuer check because for common tenant it will return internal issuer which does not match
727725
verifier := oauth.OIDCProviders.TwitchOIDC.Verifier(&oidc.Config{
728726
ClientID: oauth.OAuthProviders.TwitchConfig.ClientID,
729727
SkipIssuerCheck: true,
@@ -744,4 +742,3 @@ func processTwitchUserInfo(ctx context.Context, code string) (*models.User, erro
744742

745743
return user, nil
746744
}
747-

0 commit comments

Comments
 (0)