-
Notifications
You must be signed in to change notification settings - Fork 924
I can't get the result (response) by loginWith method #411
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
Comments
This would be great to have :) In the meantime, I'm still trying to figure out if there isn't a way around this to get the full response. |
@woutercouvaras I create a custom strategy and copy local's code into it, then add a new line like "this.$auth.$storage.setState('xxxx', result)" after request. Just a work around |
Cool, I managed to get that to work. In my case, the token was one of the values returned, so I set my user to the total response and the token to result.token. Onward and upward. Thanks for sharing :) |
|
It's this
I'd submit a PR, but I can't get the tests to pass (even before making any changes). |
What problem does this feature solve?
local schemes ignore the result except token, but sometimes we may need the hole response. For my situation, server will tell me some information about this login action, but I cant get it
What does the proposed changes look like?
return the whole response
The text was updated successfully, but these errors were encountered: