Skip to content

Conversation

jorritolthuis
Copy link

Properly handle 307 redirects, in the same way 302 redirects are already handled. See issue #35 and https://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_redirection.

@pmagyar
Copy link

pmagyar commented Dec 10, 2023

Had the same issue too. Testing is tricky but the code looks fine and does not break something else.

@jorritolthuis
Copy link
Author

I agree that testing is a problem. I was not able to find any documentation for singlekey-id.com, so best I can do is assume they strictly follow Oauth. But Oauth should never return a 307, so I'm slightly confused there.

In either case the hc-login script doesn't finish successfully for me. So I can't guarantee that 307 forward does/doesn't get me closer to a working setup.

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

Successfully merging this pull request may close these issues.

2 participants