Passport: oauth-private.key permission issue on windows

Created on 4 Aug 2017  路  9Comments  路  Source: laravel/passport

Hi All,
I am using passport on windows 10. Facing an issue while issuing a token.

Key file \"file://E\sample-laravel-app\storage\oauth-private.key\" permissions are not correct, should be 600 or 660 instead of 666

Same application works fine on Mac. Appreciate any help on this.

Best regards,

Most helpful comment

for solving the issue....change laravel pasport version
"require":
{
"php": ">=5.6.4",
"guzzlehttp/guzzle": "^6.3",
"intervention/image": "^2.4",
"laravel/framework": "5.4.*",
"laravel/passport": "^4.0",
"laravel/tinker": "~1.0",
"spatie/laravel-fractal": "4.0"
},

then composer update.. it works for me

All 9 comments

@jigarpt do a composer update. A fix for this was just merged like 3 hours ago.

@valeryan Thanks a ton, I will test it and update you.

Best regards

@valeryan YOU saved my day been stuck for 5 days

This works fine on windows, sorry for late update.

thanks a ton.

composer update doesn't work for me. Gives me the same error [ErrorException]
Key file "file://D:\wamp64\www\laravel-api-startup\storage\oauth-private.ke
y" permissions are not correct, should be 600 or 660 instead of 666
I am on windows 8.1

and me too like @pakcybershagufta

I have the same proble, composer update not working!!!

for solving the issue....change laravel pasport version
"require":
{
"php": ">=5.6.4",
"guzzlehttp/guzzle": "^6.3",
"intervention/image": "^2.4",
"laravel/framework": "5.4.*",
"laravel/passport": "^4.0",
"laravel/tinker": "~1.0",
"spatie/laravel-fractal": "4.0"
},

then composer update.. it works for me

Closing this issue because it's already solved, old or not relevant anymore. Feel free to reply if you're still experiencing this issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

raksrivastava picture raksrivastava  路  3Comments

huiyonghkw picture huiyonghkw  路  3Comments

rudolfdobias picture rudolfdobias  路  3Comments

seriousjelly picture seriousjelly  路  3Comments

MarkVilludo picture MarkVilludo  路  3Comments