Nextjs-auth0 for CSR

Hello

I’ve looked at the nextjs-auth0 sdk and the presented examples for authentication and authorization provided are for server side / api scenarios using sessions and cookies.

What about if I am using CSR with NextJS? (my app is a client server architecture)

  • What would be the ‘correct’ sdk to use for authentication and authorization for nextjs using client side rendering?

(i.e generating tokens and protecting my pages, etc)

Thanks!

Hey there!

What I would recommend here is to raise a GitHub issue in the nextjs-auth0 repo so that you can. talk about that hurdle directly with the tool maintainers? Make sure to share the link to it with us here so we can ping them. Thank you!

Thanks!

here it is

https://github.com/auth0/nextjs-auth0/issues/178

1 Like

Thank you! I will ping repo maintainers in a few minutes!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.