Runtime Excerpt Include |
---|
| Multi-tenant setup [MT EDITOR] |
---|
| Multi-tenant setup [MT EDITOR] |
---|
nopanel | true |
---|
|
Authentication - OAuth2 and KeycloakIn single-tenant mode as well as in multi-tenancy mode, OAuth2 and Keycloak can be used for the authentication mechanism. The difference with multi-tenancy is that the application now expects a claim to be present in the JWT token with the claim path name "tenant" and with the tenant name as value. This claim name is customizable if the tenant is present in the JWT token with a different claim name. Customizing the tenant pathThe tenant claim can be customized using a JsonPath expression in the same way the roles-path and username-path can be set. Code Block |
---|
language | yml |
---|
title | application.properties |
---|
| blueriq:
jwt:
tenant-path: $.custom_tenant_claim_path |
|