Hi,
I partially got the OpenId with AWS Cognito User Pool (I think). I am able to show the OpenIdConnect button, redirect to AWS Cognito login and signup page. But I noticed some problems:
1. When I sign-up a new user, it creates a user record in Cognito User Pool but it doesn't create a record in Abp tables. 2. Even if I'm logged-in to Cognito, it doesn't log me into AspnetZero.
Questions:
1. Am I doing something wrong here? Did I miss anything? 2. Does AspnetZero support AWS Cognito User Pool as OpenId?
Here are the screenshots of the changes I made with my demo app that would hopefully help understand the problem.
OpenId in appsettings.json.
Modified login.service.ts to match with Cognito User Pool app client settings
Login page
Clicking the OpenIdConnect button redirect to Cognito login page.
After successfully logging in to Cognito, it redirects to this URL.
The error I've got in the console after redirecting to the /account/login page.
I had to modify the login.component.ts because the redirect URL doesn't contain hash parameters.
Thanks.