parthp2107 f9bda790c2
added auth0 integration and auth0 integration docs (#249)
* added auth0 integration and auth0 integration docs

* added client_id check and minor changes

* Update JwtFilter.java

* UI implementation for Auth0

* added auth0 integration and auth0 integration docs

* added client_id check and minor changes

* Update JwtFilter.java

* UI implementation for Auth0

* added exception in JwtFilter

* Addressing comments

* Update JwtFilter.java

* Addressing comments

* Addressing Comments

* Addressig comments

* post merge fixes

Co-authored-by: parthp2107 <parth.panchal@deuexsoultions.com>
Co-authored-by: darth-coder00 <aashit@getcollate.io>
2021-08-31 10:17:23 +05:30

32 lines
846 B
Markdown

# 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.
```text
authenticationConfiguration:
provider: "auth0"
publicKey: "https://parth-panchal.us.auth0.com/.well-known/jwks.json"
authority: "https://parth-panchal.us.auth0.com/"
clientId: "{Client Secret}"
callbackUrl: "http://localhost:8585/callback"
```
* Update authorizerConfiguration to add adminPrincipals
```text
authorizerConfiguration:
className: "org.openmetadata.catalog.security.DefaultCatalogAuthorizer"
# JWT Filter
containerRequestFilter: "org.openmetadata.catalog.security.JwtFilter"
adminPrincipals:
- "suresh"
botPrincipals:
- "ingestion-bot"
prinicipalDomain: "open-metadata.org"
```