Open frankier opened 1 year ago
Thanks for submitting your first pull request! You are awesome! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please make sure you followed the pull request template, as this will help us review your contribution more quickly.
You can meet the other Jovyans by joining our Discourse forum. There is also a intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:
I'd like to review and help this PR, but I'm not confident on the situation you look to resolve based on the PR description.
Can you describe example links where nbgitpullers behavior will changed with this PR?
In Chrome/Chromium you should encounter this on BinderHub, when you disable 3rd party cookies. Do you happen to have a spare BinderHub nbgitpuller link handy?
Old / does not work with 3rd party cookies disabled:
New / based on this PR
Would you say this is primarily a mybinder.org issue that could affect other applications/extensions?
Can you open your browser debug/log console, and show us all the network requests and logs for a failing redirect?
I'm having some trouble generating working example links here because the link generator is still broken for me.
For me, the link generator is still not working. See also: https://github.com/jupyterhub/nbgitpuller/pull/297
As requested...
The above links are finally fixed now. It might be enough to use an incognito window for testing. For me, one works and one does not.
P.S.: Click them while they're warm(!) ;)
P.P.S: I think this might affect other BinderHub instances? I'm not sure about other cases.
Hi! Were either of you able to replicate from my description?
Fixes: #290
I've been having trouble with the redirect on BinderHub when 3rd party cookies are disabled. This fowards the
token
query string argument which seems to fix the issue.