firebase / php-jwt

PHP package for JWT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please allow overriding alg and typ headers

mroux opened this issue · comments

commented

Why would you prevent overriding those headers? They're already set by default, developers should have the option to override them.
Especially the "typ" one, what would be the point of that header if it always had to be "JWT"?

PR: #473

Thank you for your contribution. What is the reason you need to override "typ" and "alg"?

commented

Thank you for the thread. No reply from the user, Closing this for now. Please feel free to open a new bug if it need further discussion.