Github open authoring with static files?

Hi folks,

Is it possible to use Github Open Authoring with static built files? E.g. files generated from ‘gatsby build’ or ‘next export’

I generated static files from the official guide’s demo repo https://github.com/kendallstrautman/tina-open-auth but it uses API Routes which can only be server rendered. e.g. /api/proxy-github

If so I would love a guide for Gatsby Github Open Authoring

As mentioned in another thread, we have not found a way to do this. GitHub requires a server to do any kind of authentication and Next’s preview mode is the perfect fit for our first solution. However @dj and Joel are exploring ways to make this work for create-react-app, Gatsby, and purely static Next sites. Stay tuned!

2 Likes