unstoppabledomains / uauth

Libraries for integrating Unstoppable Authentication (UAuth)
https://docs.unstoppabledomains.com/login-with-unstoppable/developer-integration
63 stars 41 forks source link

Lemonade.Social "Bad Request" #34

Open charliebrooksman opened 2 years ago

charliebrooksman commented 2 years ago

https://lemonade.social/ showing "bad request" and:

{"statusCode":500,"code":"ERR_ASSERTION","error":"Internal Server Error","message":"You must enable cookies to use this functionality."}

charliebrooksman commented 2 years ago

partner sent this update: Regarding the error you have been experiencing, this is actually an issue from our side which I thought was fixed. Unfortunately this error only happened very rarely, making it hard to debug and reproduce.

It has to do with cross domain cookies. As unstoppable domains uses a form that submits to the callback url, cookies need to created in a certain way, allowing them to be included in requests to the callback url that don't originate from the domain the cookies were created on. We just released a fix for this. Please let me know if you still encounter any issues or if you want to have more information about this, as I reckon this could be a good contribution to the documentation.