Allow support for non-Google auth providers
bryanoltman opened this issue · 2 comments
bryanoltman commented
Because the "get code, exchange code for token" flow is very standard, it would be nice if the googleapis_auth
package could be extended to support other OAuth providers. This should just require the ability to make two URIs configurable: the auth endpoint and the token endpoint (these currently are hardcoded in the known URIs file). We've forked this package in shorebird and made this change, and would be happy to help upstream if there is interest.
Our fork: https://github.com/shorebirdtech/shorebird/tree/main/third_party/googleapis_auth
kevmoo commented
If it's a clean, non-breaking PR send away!
If it's not clean or requires breaks, let's chat.
bryanoltman commented
Aiming for clean and non breaking with #597 😄