How to use SAML SSO login response to login through storefront api?
Summary:
To use SSO login session to login to OCC using storefront login API.
Content (required):
We have implemented SSO login using OKTA services to login to the storefront. It is working as expected. Now, we have new requirement to access this OCC session on one of our internal site where we are already using SSO session. Now, same SSO session should be used to access OCC storefront api to get some catalog data for logged in user.
My requirement here is to use storefront login api to generate occ token so other API can be accessed.
So the question is, how to use SSO SAML response from existing logged in SSO session and which api to use to generate OCC token using this SAML response?