dusterio/lumen-passport

How to load the passport keys from different folder ?

Closed this issue · 0 comments

We are using passport with Password Grant Client which generate jwt tokens to auth in our JSON API.

I have some doubt about the SSL keys for Passport the command generated with the command artisan passport:keys or artisan passport:install I am not pretty sure how to deal with it in our deployment process for staging or production in which we are using docker platform.

Basically, we are using the dockize system where when we deploy the changes over server, server will regenerate the docker image and run the passport:install command for generate key. So, Already log-in user is goes to logout due to run passport:install command again and again which is regenerate/replace the key.

So, may I regenerate file from other location? and May i reload file from other location ?

@dusterio @ALL I am running right now in production zone and it would be best for me to get solution as soon as possible :)