Redirect from one App to another App via API


We use Auth0 as SAML IdP (users in Auth0 database) with two client applications (SAML Service Providers). The goal is to have SSO between the two applications. We want to do this using PHP APIs, we don’t have any user view(pages).

I’m creating Access token using oauth/token method (First Application) and passing that Access token to authorize method (Second Application) in response_type parameter but I’m getting Access denied error."

Please help me to resolve this problem