Secure authentication powered by Micronaut

A robust JWT-based authentication service built with Micronaut Java Framework. Provides secure login, registration, token management, and role-based authorization for modern applications.

@Secured .authenticate() @Inject JWT {token} @Factory @Serdeable

Features

Enterprise-grade JWT Authentication

Built with the powerful Micronaut Framework for exceptional performance and minimal memory footprint.

Advanced JWT Authentication

Secure JSON Web Token implementation with customizable claims, expiration, and refresh token support built using Micronaut's security module.

Role-Based Access Control

Fine-grained access control with user roles and permissions. Seamlessly protect your endpoints with Micronaut's declarative security annotations.

High Performance

Leverages Micronaut's compile-time DI and AOP for blazing fast startup times and minimal memory footprint. Perfect for microservices and cloud deployments.

API Integration

Simple RESTful API endpoints that can be easily integrated with any front-end framework, mobile app, or third-party service.

Highly Configurable

Customize token expiration, signature algorithms, claim attributes and auth flows to match your application's specific security requirements.

Documentation

How It Works

Simple integration with intuitive API endpoints powered by Micronaut's reactive HTTP client and server.

  1. User Registration/Login:

    Users submit credentials through a secure form or API endpoint.

  2. Credential Validation:

    Server validates credentials against encrypted database records.

  3. JWT Generation:

    Upon successful authentication, server generates a signed JWT containing user claims and permissions.

  4. Token Response:

    Access token and refresh token are returned to the client.

  5. Authenticated Requests:

    Client includes JWT in Authorization header for subsequent API calls.

  6. Token Verification:

    Server validates signature and claims before allowing access to protected resources.

Client
Auth Service
Login Request (username/password)
← JWT Token Response →
API Request with JWT Header
Authorized Access