HWIOAuthBundle
HWIOAuthBundle copied to clipboard
Wildcard in OAuth2 Authorisation and Authentication URL's
I went through the code and documentation but I currently don't seem to find a way to do the following. One of user account providers uses multiple subdomains for the same OAuth2 client depending on which account tier they are one.
We have their basic fallback OAuth2 information: oauth-login.serviceprovider.com
They allow clients to set their own subdomain such as: client-login.serviceprovider.com
As our configuration for HWI is set to oauth-login.serviceprovider.com they are redirected to the oauth-login.serviceprovider.com domain and not client-login.serviceprovider.com which they are authenticated against.
Is there a way to pass a value to a wildcard configuration for the OAuth2 endpoints so we can use a wildcard URL for the same OAuth2 client?