mod_auth_openidc with AWS Cognito #630
Unanswered
blackwhiser1
asked this question in
Q&A
Replies: 1 comment 1 reply
-
the message is a warning, there must be something else holding up your authentication flow |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I am trying to implement SSO with Openidc using AWS Cognito. My application uses apache, so I am using mod_auth_openidc.
Although, I am able to authenticate, when I get redirected after authentication, I get this error:
oidc_util_set_app_infos: unhandled in-array JSON object type [0] for key "identities" when parsing claims array elements
With this error, my application is not opening and I can't access it. I have use other systems like Auth0 or Keycloak and it works fine. I am just investigating other solutions such as AWS Cognito. I want to make sure this is not a misconfiguration, before I remove this from my list to try.
My configuration is as followed:
OIDCProviderIssuer https://cognito-idp.us-gov-west-1.amazonaws.com/XXXXXXXXXXXXXX
OIDCProviderAuthorizationEndpoint https://XXXXXXXXX.us-gov-west-1.amazoncognito.com/oauth2/authorize
OIDCProviderTokenEndpoint https://XXXXXXXX.us-gov-west-1.amazoncognito.com/oauth2/token
OIDCProviderTokenEndpointAuth client_secret_post
OIDCProviderUserInfoEndpoint https://XXXXXXXXXX.us-gov-west-1.amazoncognito.com/oauth2/userInfo
OIDCProviderJwksUri https://cognito-idp.us-gov-west-1.amazonaws.com/XXXXXXXXXX/.well-known/jwks.json
The user entry in AWS Cognito:
Thank you for your help!
Beta Was this translation helpful? Give feedback.
All reactions