Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] 404 when page exists? #4704

Open
leigh-pointer opened this issue Oct 4, 2024 · 1 comment
Open

[BUG] 404 when page exists? #4704

leigh-pointer opened this issue Oct 4, 2024 · 1 comment

Comments

@leigh-pointer
Copy link
Contributor

Oqtane Info

Version - 5.2.3
Render Mode - interactive
Interactivity - Server
Database - SQL Server

Describe the bug

Not sure if bug or design. When not logged in and I click a link to a page that exists but requires authentication, i get 404 Page not found.

Expected Behavior

Because the page does exist thenI should be taken to the log in page.

Steps To Reproduce

Create link to a page for Registered users, log out and click the link.

@sbwalker
Copy link
Member

sbwalker commented Oct 4, 2024

I cannot recreate this problem locally. The existing Private page is only visible to Registered Users. I added a link to the Home page Welcome module:

<p><a href="/private">Private</a> </p>

Then I logged out and clicked the link on the Home page:

image

Also if I enter the Url http://localhost:44357/private directly into the browser address bar and navigate I see:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants