OIDC implementation with custom login

HI everyone,

I have integrated my AWS IAM ID connect with Auth0, and I am using custom login to log into my AWS application so, what I have to do now is when I authenticate into my AWS application then there should be a button, on the click of that button user should land on the Auth0 application as an authenticated user. I am stuck in the implementation of the redirection part. Is there any api or url in which i have to send my aws Access token/ ID_token to validate the user authentication?
can anyone help me with this?
I am using AWS Amplify to authenticate a user.