passport-custom-jwt-claims icon indicating copy to clipboard operation
passport-custom-jwt-claims copied to clipboard

Send CryptKey instance to oauth2 with new permission check disabled

Open jonathonsim opened this issue 6 years ago • 0 comments

When running in some development environments, eg Vagrant on Windows (or most other methods you might use to develop in windows, eg docker or a local PHP install) it's impossible to make the oauth-private.key file match the exact permissions that thephpleague/oauth2-server now checks for, and this means everything will fail with an exception

Passport fixed this in this PR https://github.com/laravel/passport/pull/454 and this code implements a similar solution in benbjurstrom/passport-custom-jwt-claims

jonathonsim avatar Apr 22 '18 22:04 jonathonsim