Accept token from url search query param
- Dominant language
- JavaScript
- Stars
- 35
- Forks
- 25
- PR merge metrics
- No merged PRs in 30d
Description
#### 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
Contributor guide
Assessment
This issue has not been assessed yet.