adapters icon indicating copy to clipboard operation
adapters copied to clipboard

Allow larger id_token in typeorm adapter

Open thgh opened this issue 3 years ago • 3 comments

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

thgh avatar Dec 05 '21 23:12 thgh

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

balazsorban44 avatar Dec 06 '21 16:12 balazsorban44

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!

stale[bot] avatar May 25 '22 21:05 stale[bot]

I think TypeORM can change the column type without losing data. But I'm using Prisma now, so not sure about it!

thgh avatar Jun 08 '22 07:06 thgh