Skip to content

Error too many redirects when cookie is present #136

Description

@arkabase

I want to use the plugin to auth users from a wordpress site.
The cookie is created on the wordpress side, and I can see it in my domain cookies in the browser dev console.
The cookie payload is a valid JSON with at least id and username data, encoded as a JWT signed with the same secret as the one set in the plugin.

After the cookie is created, I can no longer access NodeBB, having a HTTP error : ERR_TOO_MANY_REDIRECTS
If I delete the cookie the app is loading as usual.

I can't figure where the issue is. Can you help me with this ?
Thanks

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions