Repository navigation
added auth0 integration and auth0 integration docs - #249
Conversation
|
|
||
| def auth_token(self) -> str: | ||
| conn = http.client.HTTPSConnection(self.config.domain) | ||
| payload = "grant_type=client_credentials" + "&client_id=" + self.config.client_id + "&client_secret=" \ |
There was a problem hiding this comment.
can we use python string formating. Please look at other code we use like get_sql_connection_url
shahsank3t
left a comment
There was a problem hiding this comment.
UI changes look good to me.
@sureshms can you please review the backend changes
| } else if (jwt.getClaim("sub") != null){ | ||
| authorizedEmail = jwt.getClaim("sub").as(TextNode.class).asText(); | ||
| } else { | ||
| throw new AuthenticationException("Email id and subject not present"); |
There was a problem hiding this comment.
Text should "Invalid JWT token, "email" or "subject" not present
There was a problem hiding this comment.
Ok, will change it.
| } else { | ||
| throw new AuthenticationException("Email id and subject not present"); | ||
| } | ||
| String userName = authorizedEmail.split("@")[0]; |
There was a problem hiding this comment.
Wouldn't this throw an error for the subject part as it won't be able to split "@"
There was a problem hiding this comment.
In subject, the value we get is the client_id@clients i.e. "sub": "nLoFA7ZA8xxxxxxxxxxxxxxJpk3@clients". So it split at "@" and wont throw any error.
There was a problem hiding this comment.
Is that consistent across all the SSOs we support
There was a problem hiding this comment.
No, will look into it.
| authority: string; | ||
| client_id: string; | ||
| provider?: 'google' | 'okta' | 'github'; | ||
| provider?: 'google' | 'okta' | 'github' | 'auth0'; |
There was a problem hiding this comment.
any reason for github here? if we don't support it yet
There was a problem hiding this comment.
Removed Github from UI and types
* GitBook: [#177] Documentation Update - Airflow * GitBook: [#195] Removing Cron from databaseServices * GitBook: [#196] Added trino * GitBook: [#197] removed cron from config * GitBook: [#198] Added Redash Documentation * GitBook: [#199] Added Bigquery Usage Documentation * GitBook: [#200] Added page link for presto * GitBook: [#201] Added Local Docker documentation * GitBook: [#202] Added Documentation for Local Docker Setup * GitBook: [#203] Added Git Command to clone Openmetadata in docs * GitBook: [#207] links update * GitBook: [#208] Updating Airflow Documentation * GitBook: [#210] Adding Python installation package under Airflow Lineage config * GitBook: [#211] Change the links to 0.5..0 * GitBook: [#213] Move buried connectors page up * GitBook: [#214] Update to connectors page * GitBook: [#215] Removed sub-categories * GitBook: [#212] Adding Discovery tutorial * GitBook: [#220] Updated steps to H2s. * GitBook: [#230] Complex queries * GitBook: [#231] Add lineage to feature overview * GitBook: [#232] Make feature overview headers verbs instead of nouns * GitBook: [#233] Add data reliability to features overview * GitBook: [#234] Add complex data types to feature overview * GitBook: [#235] Simplify and further distinguish discovery feature headers * GitBook: [#236] Add data importance to feature overview * GitBook: [#237] Break Connectors into its own section * GitBook: [#238] Reorganize first section of docs. * GitBook: [#239] Add connectors to feature overview * GitBook: [#240] Organize layout of feature overview into feature categories as agreed with Harsha. * GitBook: [#242] Make overview paragraph more descriptive. * GitBook: [#243] Create a link to Connectors section from feature overview. * GitBook: [#244] Add "discover data through association" to feature overview. * GitBook: [#245] Update importance and owners gifs * GitBook: [#246] Include a little more descriptive documentation for key features. * GitBook: [#248] Small tweaks to intro paragraph. * GitBook: [#249] Clean up data profiler paragraph. * GitBook: [#250] Promote Complex Data Types to its own feature. * GitBook: [#251] Update to advanced search * GitBook: [#252] Update Roadmap * GitBook: [#254] Remove old features page (text and screenshot based). * GitBook: [#255] Remove references to removed page. * GitBook: [#256] Add Descriptions and Tags section to feature overview. * GitBook: [#257] Update title for "Know Your Data" Co-authored-by: Ayush Shah <[email protected]> Co-authored-by: Suresh Srinivas <[email protected]> Co-authored-by: Shannon Bradshaw <[email protected]> Co-authored-by: OpenMetadata <[email protected]>
* Minor: Connector details header fix (open-metadata#246) * add alation connector image * add margin to connectorsListContainer * fix feature list heading showing in case no feature is present * update the linkcheck workflow to provide list of urls to ignore while running checks (open-metadata#249)
Describe your changes :
I worked on the auth0 integration and filter implementation.
Closes #112
Type of change :
Checklist: