lukevella / rallly

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.
https://rallly.co
GNU Affero General Public License v3.0
3.55k stars 338 forks source link

issue with SSO #1261

Closed rvbaelen closed 2 months ago

rvbaelen commented 2 months ago

Thanks for you amazing work. Gratefull to make use of your project.

I have an issue regarding signing on with SSO to my self hosted instance in docker.

Configured all as stated in https://support.rallly.co/self-hosting/single-sign-on

When logon with oidc (self hosted) i get get redirected to the login page. Docker logs show:

[next-auth][error][SIGNIN_OAUTH_ERROR] 

https://next-auth.js.org/errors#signin_oauth_error outgoing request timed out after 3500ms {

  error: {

    message: 'outgoing request timed out after 3500ms',

    stack: 'RPError: outgoing request timed out after 3500ms\n' +

      '    at /app/node_modules/openid-client/lib/helpers/request.js:137:13\n' +

      '    at async Issuer.discover (/app/node_modules/openid-client/lib/issuer.js:144:24)\n' +

      '    at async openidClient (/app/node_modules/next-auth/core/lib/oauth/client.js:16:14)\n' +

      '    at async getAuthorizationUrl (/app/node_modules/next-auth/core/lib/oauth/authorization-url.js:70:18)\n' +

      '    at async Object.signin (/app/node_modules/next-auth/core/routes/signin.js:38:24)\n' +

      '    at async AuthHandler (/app/node_modules/next-auth/core/index.js:260:26)\n' +

      '    at async NextAuthApiHandler (/app/node_modules/next-auth/next/index.js:22:19)\n' +

      '    at async /app/apps/web/.next/server/pages/api/auth/[...nextauth].js:1:1999\n' +

      '    at async K (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:16853)\n' +

      '    at async U.render (/app/node_modules/next/dist/compiled/next-server/pages-api.runtime.prod.js:20:17492)',

    name: 'RPError'

  },

  providerId: 'oidc',

  message: 'outgoing request timed out after 3500ms'

}

not sure what the issue us. Please be gentle :) beginners knowledge.

lukevella commented 2 months ago

Looks like your Rallly instance can't reach your identity provider. Make sure your config is correct and that there are no networking issues preventing your container from reaching your identity server.