Following the tutorial and got to the Web Authentication section.
When I wrap my
/admin/posts route in
<Private unauthenticated="home"> and try to navigate to
/admin/posts in the browser, I’m not redirected to the homepage…
The page is blank, the URL is
http://localhost:8910/?redirectTo=/admin/posts and there’s no console error.
Hi @darryl-snow Thanks for checking in here and sorry for the hassle!
Any chance your experience was similar to this one? (i.e. blank but corrected on redirect?)
Thanks for reporting – I had seen this behavior too.
@peterp looks to have fixed it in: https://github.com/redwoodjs/redwood/pull/836/files
Edit: I mean: “Reverting this PR resolves the issue: https://github.com/redwoodjs/redwood/pull/836/files”
Yep, that’s the same issue. I see the cause has already been found.
Got it and I’ll follow up with Peter & co.
Hey there, I’ve fixed this and merged it, the latest canary should make this go away! We’ll release a new version of RedwoodJS soon.