Infers the base URL from a wellknown endpoint URL. Extracts everything before /oauth2/ in the path.
/oauth2/
Example: https://am.example.com/am/oauth2/alpha/.well-known/openid-configuration Returns: https://am.example.com/am/
https://am.example.com/am/oauth2/alpha/.well-known/openid-configuration
https://am.example.com/am/
Infers the base URL from a wellknown endpoint URL. Extracts everything before
/oauth2/in the path.Example:
https://am.example.com/am/oauth2/alpha/.well-known/openid-configurationReturns:https://am.example.com/am/