I get this issue before. If we want to get the currentUser when the user is logged AFTER the page is loaded(maybe login with code), the currentUser returns no user is logged in. Can someone fix that?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| [Solved] assignRole() function doesnt work for me, is there anything I'm missing from here ? my code, seems normal but doesn't work still | 6 | 399 | February 23, 2021 | |
| Need to assign role based on form submission for members already in the system. | 13 | 573 | January 23, 2023 | |
| I have made a register page and used the function assign role still the role is not assigned to the member | 7 | 329 | June 23, 2021 | |
| assignRole( ) api fails with error server responded with - {\"message\":\"\",\"details\":{}} (401)"]" | 8 | 11105 | May 27, 2022 | |
| Unable to assign role upon registration | 0 | 94 | May 24, 2023 |