TinaCloud Auth Provider
You can use TinaCloud for authentication and authorization and self-host the content api. If you do not already have account, you can create one at app.tina.io and then create a new project.
Once you have created the project you will need to add the following environment variable:
Configure the auth provider
To enable TinaCloud for auth, make sure the clientId property is set to the NEXT_PUBLIC_TINA_CLIENT_ID environment variable in your TinaCMS config.
tina/config.{ts,js}
Update the TinaCMS Backend
First install the @tinacms/auth package:
Next you can update your TinaCMS Backend to use the TinaCloudBackendAuthProvider class.
/pages/api/tina/[...routes].{ts,js}