Closed did closed 1 year ago
@Laurent-Corron @sbidoul @sebastienbeau Voici un première version. A en discuter semaine prochaine ?
@did Thank you! It seems very simple to configure and use. We'll be back as soon as we've tested it.
I have done a rebase, We will start to review and test it
@sebastienbeau can we merge this and do a release of https://github.com/shopinvader/docker-locomotive-shopinvader so we can deploy?
cc/ @thibaultrey @Cedric-Pigeon
@sbidoul do you still need this and I merge it or I close the PR?
@sebastienbeau let's merge it.
By doing a POST request to `/locomotive_jwt', ShopInvader will return a JWT. Here is the JSON response:
Once decoded, you will be able to get access to the payload which follows this structure:
It requires the Wagon developer to create new metafields namespace for the site:
authentication
. This namespace will have 2 attributes: jwt_secret (secret key) and jwt_validity (validity of the token in seconds).Note:
account
key will have nil as value.