-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sign In Failed: TimeoutError: Timeout awaiting 'request' for 2500ms #1
Comments
We are using version 1.1.0 of the plugin - name: magda-auth-oidc
version: 1.1.0
repository: https://charts.magda.io
tags:
- all
- magda-auth-oidc |
AWS cognito is not a standard OIDC implementation --- its implementation seems have some bug with URL encoding and incorrectly generate "nonce" when federate Active Directory. Have you add the OIDC issuer in your Magda config? Could you please provide your config? |
Thanks for the response this is our OIDC magda config # Cognito OIDC config
# Note: `issuer` & `clientId` are supplied through the `magda-oidc-config` secret
magda-auth-oidc:
authPluginConfig:
name: "XT Users"
issuerName: "xt-dev-cognito-oidc"
scope: "openid email"
timeout: 10000 |
I don't think you can supplied "issuer" via secret?
|
@SamuelBradley |
Getting error when attempting to login using an OIDC connection.
Sign In Failed: TimeoutError: Timeout awaiting 'request' for 2500ms
Happens consistently on the first login attempt and usually works on the second attempt, with an OIDC connection to AWS Cognito. Doing some searching around the internets It may be linked to a default value in an OIDC middleware library. (https://devforum.okta.com/t/timeouterror-timeout-awaiting-request-for-2500ms/9878/5) Is the only related post on this issue I could find.
I've tried setting the timeout value for this plugin, but the default value of 10000ms already far exceeds the value cause an error.
The text was updated successfully, but these errors were encountered: