Auth service for creating user credentials and distributing JWT's
Application runs on port 8080
https://github.com/chatgut/micronauth/pkgs/container/micronauth
Create account:
POST /auth/register
Login:
POST /auth
JSON example create account and create token:
{
"username":"user1",
"password": "password"
}
Refresh token:
POST /auth/refresh
JSON example refresh token:
{
"refresh_token": "eyJhbGciOiJIUzI1NiJ9.MzUyNzczZjItZjA0Ny00ZDQ5LTlmNmQtZGQ4NGM4N2YyYTRh.YxA9Q2w_ca0iZQwxA6XG6Ns1sgtc1NKf0tVHJXr_nG0",
"grant_type":"refresh_token"
}
-issuer: "micronauth"
jwksUri: http://micronauth:8080/auth/keys