Skip to content

Commit

Permalink
fix: use lowered id to get third party provider
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyDevelop committed Jan 6, 2025
1 parent fbc4451 commit e74551d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/thirdparty/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func GetProvider(config config.ThirdParty, id string) (OAuthProvider, error) {
if strings.HasPrefix(idLower, "custom_") {
return getCustomThirdPartyProvider(config, idLower)
} else {
return getThirdPartyProvider(config, id)
return getThirdPartyProvider(config, idLower)
}
}

Expand Down

0 comments on commit e74551d

Please sign in to comment.