behrica / msal-helper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

msal-helper

Just a bit of re-usable code to obtain and cache identity tokens comming from Azure Identtity. It uses MSAL4j

It supports currently one (= my) scenario:

  • public client app
  • cache tokens in a Azure Key vault
  • allows to "init the cache" via the device code flow and commandline interactivity
  • after cache initialisation tokens can be obtained without need for user interactivity
  • the token gets "refreshed" on each use which allow for long-term non-interatice authentication

About

License:Apache License 2.0


Languages

Language:Clojure 96.2%Language:Dockerfile 3.2%Language:Shell 0.5%