callback_url for an OIDC auth method is currently using the auth method ID in the path. Since we don’t know the auth method ID ahead of time, it creates a workflow where I have to:
- Create the application on the provider
- Create the auth method with the provider client id and secret
- Update the application on the provider with the callback url
I’m trying to do this with Terraform, but it doesn’t seem possible due to the workflow. The auth method is dependent on attributes of the application and the application is dependent on the auth method attributes.
Would it be possible to add a second callback url using the name of the auth method in the path? That way the callback url could be known before the auth method is enabled.