Skip to content
Discussion options

You must be logged in to vote

Thank you for the bug report! I can unfortunately not run your reproduction due to missing env params. However from a quick look at your middleware, I think you're missing the onSuccess callback that is mentioned in the docs.

However, since you mention you only see the issue if your /about page is in the public routes, the auth middleware shouldn't run in this example.

Maybe you can further reduce the example to debug the issue? E.g. validate that the auth middleware doesn't run when you experience the issue, try to remove auth completely, remove more code from the components etc. This might help to find the root cause!

I'll move this to a discussion for the time being, as it seems to be …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Ayush-v
Comment options

Answer selected by Ayush-v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working unconfirmed Needs triage.
2 participants
Converted from issue

This discussion was converted from issue #348 on June 26, 2023 08:20.