You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
When we have custom "Header" keys, the auto-generated code for firebase/php-jwt does not accomodate for it.
It should add something like:
In my case I need to add custom header with key "x5t" that contain certificate thumbprint (Microsoft/Azure token stuff)
Likewise, I don't see it specifying encoding algorithm, so it will drop to whatever is the default (HS256).
php-jwt function declaration:
public static function encode($payload, $key, $alg = 'HS256', $keyId = null, $head = null)
The text was updated successfully, but these errors were encountered: