adapters
adapters copied to clipboard
Allow larger id_token in typeorm adapter
Reasoning 💡
This resolved my issue with sign in with Google using TypeORM and seems applicable to everyone.
This change raises the max size from 255 to 65k characters.
Checklist 🧢
- [ ] Documentation
- [ ] Tests
- [x] Ready to be merged
Affected issues 🎟
Resolves nextauthjs/next-auth#3825
This would be a breaking change since this is changing the schema, right? Could you update your description with that info for future reference?
We just released 1.0 though, it might be a bit early to include such a change... :shrug: We might either want to wait for multiple such changes. What do you think?
We document how to use custom models here: https://next-auth.js.org/adapters/typeorm#custom-models
Hi there! It looks like this issue hasn't had any activity for a while. It will be closed if no further activity occurs. If you think your issue is still relevant, feel free to comment on it to keep it open. Thanks!
I think TypeORM can change the column type without losing data. But I'm using Prisma now, so not sure about it!