Basic Auth
Learn how to secure Jikkou API Server using Basic HTTP Authentication Scheme.
To enable secure access to the API Server:
Update the configuration file (i.e., application.yaml) of the server with:
micronaut:
security:
enabled: true
As an alternative, you can set the following environment variable MICRONAUT_SECUTIRY_ENABLED=true.
When accessing a secured path, the server will return the following response if access is not authorized:
{
"message": "Unauthorized",
"errors": [
{
"status": 401,
"error_code": "authentication_user_unauthorized",
"message": "Unauthorized"
}
]
}
Learn how to secure Jikkou API Server using Basic HTTP Authentication Scheme.
Learn how to secure Jikkou API Server using JWT (JSON Web Token) Authentication.
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.