Wildcard support is requested of us fairly frequently and we plan to implement a more long term solution. In the meantime, if your application lives in a GitHub repository connected to Vercel, this topic describes how to add wildcard callback URLs via the Kinde API.
The following is an example of how to use a GitHub workflow to trigger an action every time there is a successful deployment to Vercel.
Since we will be using the Kinde Management API, you’ll need to create a machine to machine application and then activate the connection to the Kinde API.
Then, save the following application details:
BUSINESS_DOMAIN - The Domain found in your machine to machine application.M2M_CLIENT_ID - The Client ID found in your machine to machine application.M2M_CLIENT_SECRET - The Client Secret found in your machine to machine application.APP_ID - The application ID..github.