I'm using Next.js and am trying to figure out best practice for unauthenticated and authenticated access with SSR.
I was able to successfully use this with-apollo next.js example to create an HOC that allows me to make queries using a client with API auth on pages that will be server side rendered.
I got it working with CRA, but I can't find an example using Next.js with multiple Apollo clients as suggested in the amplify docs and am not sure how to go about integrating them with the Authenticator components that only work client side.
@locostudioco We currently don't have support for Next.js or Sever Side Rendering within Amplify JS. However, I am going to mark this as "help wanted" in order to see if someone from the community has done a similar implementation to your own. Can you please add your reaction to this current Feature Request we have for SSR
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.
This is being worked on, so re-opening for tracking purposes.
This is great @ericclemmons . I have been waiting for NextJS support within the AWS Amplify ecosystem.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because of inactivity. Please open a new issue if are still encountering problems.
Most helpful comment
This is being worked on, so re-opening for tracking purposes.