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?)
opened 12:30PM - 11 Aug 20 UTC
I was running through part 4 of the tutorial, adding authentication, and ran into an issue where redirecting from /posts didn't...
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.
Thanks, all!
peterp
August 12, 2020, 8:08pm
6
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.
2 Likes