googlearchive / firebase-token-generator-php

Firebase Token Generator for PHP
MIT License
107 stars 45 forks source link

MAX_TOKEN_SIZE too low? #35

Open mastef opened 6 years ago

mastef commented 6 years ago

I ran into issues with needing tokens that are bigger than 1024 bytes. After increasing MAX_TOKEN_SIZE I was actually able to create JWT tokens that were bigger than >1024.

Is this limitation maybe obsolete? I'm not able to find a 1024 bytes limit in the firebase JWT documentation any more.

mastef commented 6 years ago

I've been randomly testing the maximum possible size, and so far haven't hit a limit at 192000 bytes.