Open Awlexus opened 4 years ago
We found the problem. The callback url was set to a different subdomain and the session was lost because of this.
Would it be possible to adjust the library to return an authentication error instead of crashing?
In my case, I got this error in the logs, and it turns out during testing, I enter the auth URL in the browser, and Safari decides to show an autocompletion of the callback URL, while also making the http call. This leads to invalid token, and an exception show on the server logs.
It's a red herring probably, but would be great to handle such cases gracefully as well.
We've been receving lots of errors like the following one in the last hour
The first argument to this function is a token, that is set in the session during the request phase, which was
nil
. Any idea how this could have happened?