Lib always using cookies
See original GitHub issueEvery time I click the link in my email sent by the desive_token_auth
ruby
gem, it fails throwing an error saying that a variable value
in the browser-cookies
library in the line 28 is undefined.
It happens when I try to confirm an email or reset a password.
I already tested the api using the dummy app and it works fine, but it’s working using the server-side rendering configuration, which is not what I need.
I’m trying to get this working and I already went line by line for 2 days in the dummy and demo app in this library and everything seems right.
I’m just asking help because I have no more where to go.
The code I’m working can be found here: https://github.com/betoharres/redux-auth-test
A big thanks for any help here ❤️
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:20 (2 by maintainers)
Top Results From Across the Web
How to Enable Cookies | Social Law Library | Boston, MA
To access the Social Law Library databases you must enable cookies. Follow the instructions below for the browser version you are using.
Read more >Cookies & Cache - Help??? Troubleshooting for Users
Enable Cookies · Click Tools or the gear icon at the top of the browser window. · Select Internet Options. · Click the...
Read more >Everything You Need to Know About Cookies for Web ...
Everything we covered will work in a pinch, but if you plan on working with cookies extensively, look into libraries like JavaScript Cookie...
Read more >How to enable cookies on your mobile device - OverDrive | Help
Make sure cookies are allowed. If they aren't, tap Cookies, then tap Cookies again to allow them. Once this is set, you can...
Read more >Understanding Cookies and Implementing them in Node.js
It will also send cookies to your browser. The cookies are then stored on your computer and submitted to the server with every...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also running into this issue. It doesn’t seem that
clientOnly
mode works because of this.Edit: With a bit of hacking, I seem to have got this working in
clientOnly
mode now.It will now try to validate the token even if
initialCreds
is set, whereas before it wasn’t.https://github.com/lynndylanhurley/redux-auth/blob/master/src/utils/client-settings.js#L94-L114
I haven’t tested this at all with SSR. I’m sure it will break things…
I believe I have the same issue… 👍 for this!