kiquetal / tokenier-api

A simple fastify image to request keycloak token

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple docker imagae to request token using client credentials flow

Prerequisites

Set CLIENT_ID and CLIENT_SECRET environment variable

Set KEYCLOAK_URL environment variable to the keycloak server url

How to run

npm install npm start

Execute the url

curl -XGET http://localhost:3000/token

About

A simple fastify image to request keycloak token


Languages

Language:Smarty 46.4%Language:JavaScript 34.1%Language:Dockerfile 19.5%