Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export sign function #805

Closed
daveisfera opened this issue Jan 13, 2021 · 1 comment
Closed

Export sign function #805

daveisfera opened this issue Jan 13, 2021 · 1 comment
Labels

Comments

@daveisfera
Copy link

This is a request that the sign function be exported so it can be used by services that want to generate a cookie (like creating and driving a headless browser session for screenshot/PDF generation). Currently, we're doing this by having our own function that matches the behavior, but this is fragile and it would be nice to be able to use the actual function.

@dougwilson
Copy link
Contributor

Hello! This module uses the https://www.npmjs.com/package/cookie-signature module for the cookie signing. The function exported from that module would be the signing you want to use 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants