|
|
|
|
|
by lajr
1562 days ago
|
|
Quick question: the NextJS demo seems to be doing auth on the client side which would result in a flicker on page load while it waits to see if the user is authenticated. Do you have a server friendly component in the react library? Other libraries (ex: auth0) have a special function which is deployed as a getServerSideProps function on each page, as well as an API route that handles auth requests. |
|
For now, you can use our `is_initializing` flag to wait until the authenticated state is fully loaded before completing the render in the browser. I realize that's not an optimal solution for this use case. We'll get there!