# Auth0 with AWS Cognito OpenID Connect, how to skip re login

**URL:** <https://community.auth0.com/t/auth0-with-aws-cognito-openid-connect-how-to-skip-re-login/88735>\
**Category:** Get Help\
**Tags:** amazon-cognito, cognito, saml, auth0\
**Created:** [August 14, 2022, 3:41pm UTC](https://community.auth0.com/t/auth0-with-aws-cognito-openid-connect-how-to-skip-re-login/88735 "2022-08-14T15:41:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![avivk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/avivk/32/33541_2.png) [@avivk](https://community.auth0.com/u/avivk)\
**Post date:** [August 14, 2022, 3:41pm UTC](https://community.auth0.com/t/auth0-with-aws-cognito-openid-connect-how-to-skip-re-login/88735/1 "2022-08-14T15:41:10Z")

</div>

hey!

I’m using `AWS Cognito as OIDC <> Auth0 as SAML-IDP (idp-initiated) <> SP.`

I have a web-app which has login mechanism with AWS Cognito pool,

and I’m trying to redirect logged-in customers to third-party URL (which requires log-in as well, SAML).

I have setup Auth0 OpenID Connect (AWS Cognito - see image below), which seems to work well (users are synced from my user-pool with Auth0/User Management/Users).

When i’m redirecting my logged in users, I redirect them to Auth0 Identity Provider Login URL (i.e: `dev-APP.us.auth0.com/samlp/SOME_APP?connection=AWSCognito`)

the problem i’m facing is that for the first time - user is required to log-in again (to cognito) although he was already logged in (see image below).

I was trying to follow up the requests made after redirection to Auth0 Provider Login URL and it seems that /authorize URL on cognito is the issue (`https://XXXXX.auth.us-east-1.amazoncognito.com/oauth2/authorize`)

what am i’m missing here? is there any way to skip that step?  
thanks!

 ![image](https://global.discourse-cdn.com/auth0/original/3X/8/9/893f4356fe26b03496bd10b66b23f32a833720b6.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/2/a/2a165b79208614d646721270b46fcb9b1931d4df.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/d/8/d82939f9154ee8015d81a9b51988c5ae5430d9fa.png)  
 ![image](https://global.discourse-cdn.com/auth0/original/3X/e/4/e44d4ec59a1297395a41e46a625648bbaf724c8d.png)

---

<div class="post-metadata">

**Author:** ![avivk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/avivk/32/33541_2.png) [@avivk](https://community.auth0.com/u/avivk)\
**Post date:** [August 15, 2022, 7:14am UTC](https://community.auth0.com/t/auth0-with-aws-cognito-openid-connect-how-to-skip-re-login/88735/2 "2022-08-15T07:14:43Z")

</div>

tried to redirect directly to cognito hosted UI `https://<yourDomainPrefix>.auth.<region>.amazoncognito.com/login?response_type=token&client_id=<yourClientId>&redirect_uri=<redirectUrl>` and still requests a re-login

---

<div class="post-metadata">

**Author:** ![nik.baleca](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nik.baleca/32/68749_2.png) [@nik.baleca](https://community.auth0.com/u/nik.baleca)\
**Post date:** [February 18, 2025, 9:00pm UTC](https://community.auth0.com/t/auth0-with-aws-cognito-openid-connect-how-to-skip-re-login/88735/4 "2025-02-18T21:00:40Z")

</div>

Hi @avivk

I am sorry about the late reply to your inquiry!

From what I understand, once the user is redirected to the 3rd party URL, you are looking to implement Seamless SSO between those apps. The issue appears to be that your 3rd party app is a separate application which does not check if the user is registered with Auth0 or with your application.

Please review this [community post](https://community.auth0.com/t/how-to-achieve-seamless-sso-with-oidc-enterprise-connection/182268), our documentation relates to [OIDC SSO](https://auth0.com/docs/authenticate/login/oidc-conformant-authentication/oidc-adoption-sso) or [this article](https://auth0.com/resources/whitepapers/definitive-guide-to-single-sign-on?utm_source=google&utm_campaign=emea_uki_gbr_all_ciam-all_dg-ao_auth0_search_google_text_kw_Brand_utm2&utm_medium=cpc&utm_id=aNK4z000000UE4MGAW&gad_source=1&gclid=Cj0KCQiA_NC9BhCkARIsABSnSTYNzm1cvKxb8yV4j_E9GnMIbBVS6-pmMfU_81WWSlIPGiBYOAkHHvEaAkaiEALw_wcB) regarding the matter.

If you have any other questions or found a solution to the issue, feel free to leave a reply or post again on the community!

Kind Regards,  
Nik

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [March 4, 2025, 9:01pm UTC](https://community.auth0.com/t/auth0-with-aws-cognito-openid-connect-how-to-skip-re-login/88735/5 "2025-03-04T21:01:37Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
