About the grant type for the USER_SRP_AUTH in AWS Cognito

0

Hello, We are now facing the issue of scope when using USER_PASSWORD_AUTH to having the login by InitiateAuth function. As now we need to change from Authorization code grant type to Client Crediential grant type, is it true that the USER_SRP_AUTH support the Authorization code grant type? If not, may I know what grant type is USER_SPR_AUTH belong? Thanks. Regards, Jimmy Shum

질문됨 일 년 전353회 조회
1개 답변
0

The USER_SRP_AUTH flow is used in the InitiateAuth API call (as described here) - https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html

This is an alternative integration method to login directly to the user pool using AWS APIs rather than the OAuth flows.

For client credentials/auth code grants - these are configured through the Hosted UI settings. You can in fact disable USER_SRP_AUTH and USER_PASSWORD_AUTH if you are only using the OAuth flows.

AWS
Owen
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠