Skip to content

Can't login on Regular Web App #14

Description

@richardscarrott

I've been able to login and get the account linking working in the SPA sample, but the Regular Web App sample is failing to even log me in properly.

  1. Go to homepage
  2. Click Login
  3. Login
    Expect: To be logged in
    Actual: Homepage continues to ask me to login
  4. Click login again
    Expect: To be logged in
    Actual: Redirected to auth0 which realises I have a session and redirects me back to /callback -> /user -> /
  5. Go back to step 1
  • If I set auth({ required: true, ... }) it just infinitely redirects.
  • It appears that req.openid.user is null in requiresAuth.

Screenshot 2021-06-10 at 21 14 58

I tried upgrading to a newer version of open "express-openid-connect" but it's change so much and I'm not sure it even supports disabling the appSession...

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions