Hi all,
I have a portal that login users with ADFS and SAML. After the authenitcation the user should be authorized to use the API REST of Content Server.
I have configured OTDS to use SAML 2.0 Authentication Handler and it works when I login user from OTDS login.
Now I would use the Content Server API REST but I don't figure out how can I obtain an OTCS ticket.
First I thought to use a SAML Bearer OAuth2 flow as described in https://tools.ietf.org/html/draft-ietf-oauth-saml2-bearer-08 but I don't find any documentation about it so I suppose that this standard is not supported.
Looking at OTDS API REST I see the endpoint /authentication/token
and I'm trying with it but I don't understand how to use it. I suppose to have to put some SAML assertions in the tokenBinary property.
POST /authentication/token
Content-Type: application/json
{
"tokenBinary": "base64 saml assertions here?"
}
Is it correct? And if so, how can I retrieve the SAML assertion I have to use?