damas-core icon indicating copy to clipboard operation
damas-core copied to clipboard

Apikey generation and authentication using Apikey #279

Open AymericCadier opened this issue 1 year ago • 0 comments

Responding to the https://github.com/remyla/damas-core/issues/279 issue , dealing with Apikeys (third version).

  • Provides an Html view where logged in users can generate Tokens, with a chosen lifespan in milliseconds. View is createToken.html , and is accessible in the js/index.html .
  • Added an option in the cli/damas : Users can now bypass the signin procedure. They can precize " --apikey <api_key> " (with api_key being the token generated by the view mentionned above) before their command, which allows them to do operations (such as a search, create, ...) , without having to sign in. Since it is an option, users can still sign in and providing an apy key is not mandatory .

AymericCadier avatar May 27 '24 15:05 AymericCadier