-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(aws-appsync): Bad error message - Missing default OIDC Configuration #15039
Comments
Hey @Matt-Butler, can you more clearly state what the problem here is? Thanks. |
In this case, the user isn't missing the OIDC configuration. The user is missing userPoolConfig. Expected:
Actual:
|
Thank you for clarifying, is this something that you'd like to fix yourself? I'd be happy to take a look at the PR you make |
|
https://github.com/aws/aws-cdk/blob/master/packages/%40aws-cdk/aws-appsync/lib/graphqlapi.ts#L498
if (mode.authorizationType === AuthorizationType.USER_POOL && !mode.userPoolConfig) {
throw new Error('Missing default OIDC Configuration');
}
throw new Error('Missing userPoolConfig');
The text was updated successfully, but these errors were encountered: