AuthJS example seems to be broken
M
Michael C
Was unable to upload the provided schema.json from the docs (https://xata.io/docs/integrations/auth-js) to Xata's new postgres db using the CLI. After manually creating the schema in the UI the example code was still broken. In order to get it to work I had to remove the provided @auth/xata-adapter and instead use a custom-written adapter. All in all quite a lot of work simply to get AuthJS to work icw Xata.
Kostas Botsas
Thank you Michael C, you are correct in both your observations: the CLI schema upload command is not yet compatible with Beta Postgres-enabled databases, and the xata-adapter is yet to be updated for compatibility as well. There is work planned for both items, we will update here as soon as there are news to share.