Skip to content

chatgut/micronauth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Micronaut Auth Microservice

Auth service for creating user credentials and distributing JWT's

Application runs on port 8080

Image

https://github.com/chatgut/micronauth/pkgs/container/micronauth

Endpoints

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"
}

RequestAuthentication

-issuer: "micronauth"
jwksUri: http://micronauth:8080/auth/keys

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors