I'm configuring SAML SSO and saml to oauth2 bearer token exchange on wso2 products. A wso2 identity server instance for the idp and same instance configured as the service provider for SSO. And another wso2 api manager instance for the saml2 to oauth2 bearer token exchange.
I'm getting following error when POST to the https://wso2amsrv.com:9463/oauth2/token. ERROR - SAML2BearerGrantHandler Error in constructing XML Object from the encoded String
- Not sure the configuration is correct
- What is the encoding for the saml assertion? URL encoding or base64 encoding?