redirectUri
parameter in the OAuth2 flow. This allows you to specify a redirect page hosted on your domain, which will then redirect the user back to the StackOne OAuth2 authorization endpoint. This satisfies Google’s requirement for a redirect page hosted on your domain while also allowing you to send the token back to StackOne.
The flow can be summarized as follows:
GET
request from Google with query parameters and redirects the user back to the StackOne OAuth2 authorization endpoint with the same query parameters.
The StackOne OAuth2 authorization endpoint is: https://api.stackone.com/connect/oauth2/callback
If you were previously testing with the StackOne authorization as your redirect URL, you will need to update your application to use your new redirect page before submitting your application for verification.
redirectUri
parameter in the OAuth2 flow to your custom URL:
https://mydomain.com/oauth2/callback
with the following query, and then this endpoint will redirect the user back to the StackOne OAuth2 authorization endpoint with the same query parameters.