-
Notifications
You must be signed in to change notification settings - Fork 29
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
State of OAuth.Implicit.Success is Nothing #21
Comments
This is surprising because the state is basically free-form so there's no reason for the parser to fail if the value is present in the query. |
Certainly, here's what I pass to OAuth.Implicit.parseToken:
Here is my
|
Interesting. So it seems that the Url.Parser.Query which is used to parse the fragment internally doesn't quite like the padding ( I also realize that since 7.0.0, the internal parsers are no longer exposed, which doesn't allow you to write a custom parser. That's very inconvenient. This needs fix. |
Thank you for looking into it (and restoring my sanity). If you're going to touch it anyway, maybe i could sneakily suggest a couple of changes here? In order to get the auth-url I really wanted, I had to:
so, i had to modify Neither this issue, nor my suggested changes are hindering me to use your package for which I am grateful. Thanks! |
I've purposely left the parsers in this library somewhat open, so you should be able to work around pretty easily by using |
Hi - I came across this issue after a few hours of head-scratching. Like the OP I'm happy that sanity is restored. But can I ask why the issue was closed? I'm using 7.0.1 and this problem is still present. Any suggestions for a workaround? Actually - I guess using state that has length which is a multiple of 3? |
When using version 7.0.0, everything works as expected, except the value of
state
is alwaysNothing
.The query-string contains a param named
state
.All the other strings are parsed.
Debug.log of the success-object:
What am I missing? I looked at the implementation and that looks fine to me.
Thanks for any pointers.
The text was updated successfully, but these errors were encountered: