Allow Credentials

Credentials are allowed by default for CORS requests. To disallow credentials, simply set the allowCredentials option to false.

Example CORS Configuration

  1. micronaut:
  2. server:
  3. cors:
  4. enabled: true
  5. configurations:
  6. web:
  7. allowCredentials: false