2022-03-10 08:59:13 +00:00
|
|
|
# Copy of Configure OpenMetadata Server
|
|
|
|
|
|
|
|
## Update conf/openmetadata-security.yaml
|
|
|
|
|
|
|
|
* Once the `Client Id` and `Client secret` is generated.
|
|
|
|
|
|
|
|
Add the `Client Id` in openmetadata-security.yaml file in `client_id` field.
|
|
|
|
|
|
|
|
```
|
|
|
|
authenticationConfiguration:
|
|
|
|
provider: "auth0"
|
2022-03-30 21:52:53 +01:00
|
|
|
publicKeyUrls:
|
|
|
|
- "https://parth-panchal.us.auth0.com/.well-known/jwks.json"
|
2022-03-10 08:59:13 +00:00
|
|
|
authority: "https://parth-panchal.us.auth0.com/"
|
|
|
|
clientId: "{Client ID}"
|
|
|
|
callbackUrl: "http://localhost:8585/callback"
|
|
|
|
```
|
|
|
|
|
|
|
|
* Update authorizerConfiguration to add adminPrincipals
|
|
|
|
|
|
|
|
```
|
|
|
|
authorizerConfiguration:
|
|
|
|
className: "org.openmetadata.catalog.security.DefaultAuthorizer"
|
|
|
|
# JWT Filter
|
|
|
|
containerRequestFilter: "org.openmetadata.catalog.security.JwtFilter"
|
|
|
|
adminPrincipals:
|
|
|
|
- "suresh"
|
|
|
|
botPrincipals:
|
|
|
|
- "ingestion-bot"
|
|
|
|
principalDomain: "open-metadata.org"
|
|
|
|
```
|