Cognito: Support SSO via OKTA

0

We have an application that uses Amazon Cognito for user authentication. Now, we are planning to support Single Sign-On (SSO) with Okta. I noticed that Cognito offers OIDC and SAML integration. However, when integrating OIDC, we need to provide the client ID, domain, and secret (if required). Since different Okta organizations have different values for these parameters, I am wondering what the Cognito team suggests in this case. We want to support any user from any Okta organization to sign up/sign in to our application, similar to the Sign in with Google functionality.

  • One solution is to dynamically create OIDC integration in cognito user pool from the backend by asking client id & domain from the user. However I am wondering if there is something in built cognito provides which I am missing or any standard solution to solve this problem.

已提問 1 年前檢視次數 283 次
2 個答案
0

Hi there!

I believe this particular use case is not supported. I've looked at the Cognito documentation and there is no mention of this use case.

My guess is that it has to do with Okta working with a per organization model in which there is no general Okta directory of accounts (i.e. in the case of Google, I can personally go and create an account unrelated to any particular organization) that is managed by Okta, except those managed by individual organizations.

I hope this helps (if so, please mark this as an answer).

profile pictureAWS
專家
已回答 1 年前
  • Yes looks like that however is there any problem to have any number of OIDC providers created by backend runtime ? The solution I mentioned in my post.

  • You can have multiple Okta instances registered as IdP within the Cognito User Pool. It is the same process as having just one (just rinse and repeat).

0

This tutorial is for SAML Okta/Cognito integration, but you end up with an "Okta Application" that can be reviewed and published inside Okta. I believe any organization should then be able to use it, but I'm not 100% sure.

已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南