Any examples using NextJS - Serverside React?
-
Are there any guides using NextJs where authorisation is both server-side and client-side?
This particularly applies where a large number of the pages are generated serverside and HTML is sent to the browser as opposed to the standard React model of JS download that then retrieves the HTML as required. -
@rationem I know we have a nextjs example queued up for the next few weeks, but I don't know if it will meet your needs, as I think it is a bit simpler than what you outline.
Have you made any progress on this? Seems like an interesting use case.
-
Hey @dan,
Just wanted to point out a few things. First I have a custom Backend app and this doc does not cover that at all. It looked to me like it is communicating directly with FusionAuth which is not a good idea in my case (I am using mostly Client side components). So I switched gears and tried to use @fusionauth/react-sdk instead. It was working until I got busted with this broken build log. Any suggestion on how to fix my build since I guess it is related to NextJS and how we lack
document
at build time since it works just fine when I run the NextJS app indev
mode.