Skip to content
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

Error on /authorize endpoint #164

Open
sbergotts opened this issue Sep 10, 2021 · 1 comment
Open

Error on /authorize endpoint #164

sbergotts opened this issue Sep 10, 2021 · 1 comment

Comments

@sbergotts
Copy link

sbergotts commented Sep 10, 2021

I get an error when trying to connect with our service provider. The error occurs on the first request to the /user/authorize endpoint:

  TypeError: Cannot read property 'stateFor' of undefined
      at processSessionState (C:\dev\identity-provider-example\node_modules\oidc-provider\lib\helpers\process_session_state.js:18:25)
      at Function.saltedProcessSessionState [as salted] (C:\dev\identity-provider-example\node_modules\oidc-provider\lib\helpers\process_session_state.js:43:10)
      at authorizationErrorHandler (C:\dev\identity-provider-example\node_modules\oidc-provider\lib\shared\authorization_error_handler.js:97:52)
      at processTicksAndRejections (internal/process/task_queues.js:93:5)
      at async ensureSessionSave (C:\dev\identity-provider-example\node_modules\oidc-provider\lib\helpers\initialize_app.js:42:7)
      at async contextEnsureOidc (C:\dev\identity-provider-example\node_modules\oidc-provider\lib\shared\context_ensure_oidc.js:4:5)

The only thing I have changed was the redirect uri in the client configuration. How can I get around this issue?

@sbergotts sbergotts changed the title Error when Error on /authorize endpoint Sep 10, 2021
@06dede06
Copy link

06dede06 commented Apr 9, 2022

session var empty ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants