04 - Creating Amazon Cognito User Pool & App Client | Serverless .NET API | AWS Lambda | API Gateway
ฝัง
- เผยแพร่เมื่อ 27 ต.ค. 2023
- In this video, you'll learn the following:
- Creating an Amazon Cognito User Pool with an App Client.
- The process of creating a user in Amazon Cognito.
- Setting up an Admin Group within Amazon Cognito
👨💻 GitHub Repository - github.com/ankushjain358/serv...
🌐 Demo Page Link - resonant-cement-f3c.notion.si...
📢 Blog Post - coderjony.com/blogs/building-...
🔗 All Links - resonant-cement-f3c.notion.si...
📑 Playlist Link - • Building Serverless .N... - วิทยาศาสตร์และเทคโนโลยี
getting this error
{"IDX10206: Unable to validate audience. The 'audiences' parameter is empty."}
I'm passing audiences as my client app id
it will work if I use ID token , only in case access the API using access token I'm getting the above error.
Refer the GitHub code samples. Link given in the description, compare your code to find the missing thing.
.net code you provided aud in configuration (as client id ), but I have not seen aud is not configured in cognito and not available even in access token, please help me on this @@coderjony9694
Are you using .NET 8? If yes, there is a breaking change. I will post the update soon. Meanwhile you can comment the ValidateAudience delegate in Program.cs.
yes correct .net
thank you 8 @coderjony9694
@@coderjony9694 how to configure the cookie session in Cognito
? will you help me on this?