Get openid and custom scopes from InitiateAuthAsync or Oauth2 .0 password grant type.

0

Hi, my users do not want to use the Cognito Hosted UI for loging in and prefer to authenticate with a custom api gateway endpoint. We thought it was working fine, but when we try to secure a different api gateway endpoint. We do not have the scopes that will validate when using the access_token

I have tried the .net SDK InitiateAuthAsync call and I am also trying raw http calls to the oauth2/token endpoint "https://{our domain}.auth.us-east-1.amazoncognito.com/oauth2/token"

The InitiateAuthAsync only returns scope: "scope": "aws.cognito.signin.user.admin",

the Oauth endpiont does not allow the password grant type according to this web page:

https://docs.aws.amazon.com/cognito/latest/developerguide/token-endpoint.html

답변 없음

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

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

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

관련 콘텐츠