cakephp / authentication

Authentication plugin for CakePHP. Can also be used in PSR7 based applications.
MIT License
116 stars 100 forks source link

Support Cached key set #535

Closed swiffer closed 1 year ago

swiffer commented 2 years ago

This is meant to gather your thoughts on support for cachedKeySets.

Instead of providing an array with keys to jwks and URL could be passed which is then fetched and cached by php-jwt. Configuration options still TBD.

This functionality has been added to php-jwt in 6.2: https://github.com/firebase/php-jwt/pull/397

The revelant change would be among these lines: https://github.com/cakephp/authentication/pull/535/files#diff-ace0e7f81ad6600f2a672e7393458f22cc0f8c44e69bd76ef9be077e677c14fbR158

othercorey commented 2 years ago

This needs to be rebased.

swiffer commented 2 years ago

This needs to be rebased.

Yes, Happy to do that once #507 is merged / decided and 2.x-next Up to date or 3.x ist existing

othercorey commented 2 years ago

Merged 2.x into 2.next.

swiffer commented 2 years ago

done - it's still containing the commit of #507

github-actions[bot] commented 2 years ago

This pull request is stale because it has been open 30 days with no activity. Remove the stale label or comment on this issue, or it will be closed in 15 days