Skip to content

Allow JWT token to be passed as a query param #124

Description

@TannerPlauche

FEATURE REQUEST

Allow JWT to be passed as a query parameter.

Currently nodebb-plugin-session-sharing detects the JWT via a domain specific cookie. This could be expanded to include a query parameter, for example www.mynodebb-forum.com?session-token=qweqwe.qweqwe.qweqwe.

The reasoning for this feature is that cookies cannot be set programmatically when opening a brownser tab/window from a mobile device. It is possible in some cases to pass cookies from fully native applications to webview components. That solution is only viable for webviews on fully native apps, and query params are universal and would apply to all platforms.

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