Closed mkael1 closed 1 year ago
same issue for me, there is no example to use this package
Try this and see if it works
Have the following in your Auth config (might not need all but at least "rewriteRedirects", "redirect.home", and "watchLoggedIn"):
auth: {
...
rewriteRedirects: true,
watchLoggedIn: true,
redirectStrategy: 'query',
redirect: {
...
home: '/'
},
...
}
Add this in your sign-in page in the "setup()" or the " Githubissues.
Version ^2.3.2
On logout it works, but when I try to login it doesn't redirect to /