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

allow token to be passed in URL query #104

Open
eroux opened this issue Mar 20, 2023 · 0 comments
Open

allow token to be passed in URL query #104

eroux opened this issue Mar 20, 2023 · 0 comments

Comments

@eroux
Copy link
Contributor

eroux commented Mar 20, 2023

this won't be a normal path but for the purpose of getting the app to give the best user experience, it should open the final PDF download link in the main web browser. But this main web browser needs to be logged in for the PDF download to work.

Here's one possible way this could work: a GET endpoint /setcookie, with two URL params:

  • token with the token
  • redirect with the path to a URL to redirect to

it would just set the cookie and redirect to the URL given as parameter

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

No branches or pull requests

1 participant