These tutorials target Micronaut Framework 3. Read, Guides for Micronaut Framework 4.

Micronaut Security

Micronaut Basic Auth

Learn how to secure a Micronaut application using 'Basic' HTTP Authentication Scheme.

JavaKotlinGroovy
Gradle Read
Maven Read