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

已提問 1 年前檢視次數 352 次
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
已回答 1 年前

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

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

回答問題指南