Journey client configuration with OIDC well-known endpoint discovery.
This configuration fetches the OIDC discovery document to obtain
standard OIDC endpoints while still using baseUrl for AM-specific
journey endpoints.
Example
constconfig: AsyncJourneyClientConfig = { serverConfig: { baseUrl:'https://am.example.com/am/', wellknown:'https://am.example.com/am/oauth2/realms/root/realms/alpha/.well-known/openid-configuration', }, // realmPath is optional - can be inferred from the well-known issuer };
Journey client configuration with OIDC well-known endpoint discovery.
This configuration fetches the OIDC discovery document to obtain standard OIDC endpoints while still using baseUrl for AM-specific journey endpoints.
Example