-
Notifications
You must be signed in to change notification settings - Fork 4
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
userAccessTokenParser: failed to parse #5
Comments
That access token seems to be coming without an expiration time. Are you using server-side or client-side authentication? |
Server-side |
Yes, no expiration time because the App Setting allows this particular App to access the facebook account at any time. May need an upgrade to userAccessTokenParser to allow for no expiration time? |
So you're using the offline access permission? The real problem is that currently the A better compromise may be to just set the expiration time to the far, far future whenever it's not found. I don't like the silent nature of this fix, though. Thoughts? |
That's got me thinking. My FB App needs offline access to read status updates - but I do this outside Yesod. I am using auth-fb for a different purpose, namely to provide log in credentials which, as you say, should always be time limited. I think the answer in my case is to have another FB app, without offline access, which is used only to log in. That will solve the issue for me. However, the purist in me says that the expiration time is definitely a Maybe! Robert |
I got the following after logging in via Facebook
Internal Server Error
userAccessTokenParser: failed to parse "access_token=AAADPFaYO8UUBAGqmiKEoC6hNfxD22kc8ZAXZA3Occ1Nf9p1I6pJ7NxYXFwGhFJdjgA1tfVXVxbi8pbnIe42H4sUkwwE3kZD"
Any ideas?
Thanks
Robert
The text was updated successfully, but these errors were encountered: