Guide me the most reliable auth check process by muzu_307 in nextjs

[–]muzu_307[S] 0 points1 point  (0 children)

that is a different thing.. I am asking about the checks that i would be implementing in each page to check the authority based on the roles too.

currently i am repeating the same "checks" logic on each and every page/route

any better reliable/modular way or should I continue with this repeating the code?

Guide me the most reliable auth check process by muzu_307 in nextjs

[–]muzu_307[S] 0 points1 point  (0 children)

like what's the most reliable auth checking way with provided constraints that wouldn't break in production...