mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat(SIP-85): OAuth2 for databases (#27631)
This commit is contained in:
@@ -23,6 +23,7 @@ import DatabaseErrorMessage from 'src/components/ErrorMessage/DatabaseErrorMessa
|
||||
import MarshmallowErrorMessage from 'src/components/ErrorMessage/MarshmallowErrorMessage';
|
||||
import ParameterErrorMessage from 'src/components/ErrorMessage/ParameterErrorMessage';
|
||||
import DatasetNotFoundErrorMessage from 'src/components/ErrorMessage/DatasetNotFoundErrorMessage';
|
||||
import OAuth2RedirectMessage from 'src/components/ErrorMessage/OAuth2RedirectMessage';
|
||||
|
||||
import setupErrorMessagesExtra from './setupErrorMessagesExtra';
|
||||
|
||||
@@ -149,5 +150,9 @@ export default function setupErrorMessages() {
|
||||
ErrorTypeEnum.MARSHMALLOW_ERROR,
|
||||
MarshmallowErrorMessage,
|
||||
);
|
||||
errorMessageComponentRegistry.registerValue(
|
||||
ErrorTypeEnum.OAUTH2_REDIRECT,
|
||||
OAuth2RedirectMessage,
|
||||
);
|
||||
setupErrorMessagesExtra();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user