Skip to content

oauth: use service ID + client ID as the provider config ID

Administrator requested to merge jc/oauth-config-id into main

Created by: unknwon

We used to use ServiceID (e.g. https://github.com/) as the unique config ID for a given OAuth provider. However it is possible that two auth providers both pointing to GitHub.com but as two different OAuth applications (e.g. GitHub and GitHub Enterprise Cloud).

This PR uses combination of <service ID>::<client ID> as the unique config ID for a given OAuth provider.

Fixes #14204

Merge request reports

Loading