This is a simple OAuth redirect proxy that forwards OAuth callbacks to StackOne.
redirectUri parameter pointing to your domainhttps://yourdomain.com/connect/oauth2/{provider}/callback as your OAuth redirect URIGET/POST /connect/oauth2/{provider}/callback
This endpoint receives OAuth callbacks and forwards them to:https://api.stackone.com/connect/oauth2/{provider}/callback
GET requests: Redirects to StackOne with query parameters
POST requests: Forwards request body and headers to StackOne
If your domain is myapp.com, configure your OAuth apps with:https://myapp.com/connect/oauth2/google/callbackhttps://myapp.com/connect/oauth2/microsoft/callbackhttps://myapp.com/connect/oauth2/slack/callback
When OAuth providers redirect to this URL, this proxy will automatically forward the request to StackOne with all the same query parameters.