Skip to content

Accept token from url search query param #49

@lallenfrancisl

Description

@lallenfrancisl

Support plan

Community

  • is this issue currently blocking your project? (yes/no): yes
  • is this issue affecting a production system? (yes/no): yes

Context

Some apps need the ability to parse token from url. A usecase would be to implement reset password links.

  • node version: 16.0.0
  • module version: 3.0.0
  • environment (e.g. node, browser, native): node
  • used with (e.g. hapi application, another framework, standalone, ...): hapi application
  • any other relevant information:

What problem are you trying to solve?

Allow the plugin to read token from url search query param. Something like https://api.test.com?token=sdfsdfsdfsf would be read and parsed

Implementing this opens up the plugin to a wide variety of usecases, like email reset password links, token based file access etc

Do you have a new or modified API suggestion to solve the problem?

Yes, this can be done similar to what we did with cookieName

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew functionality or improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions