Fix Login for Entra ID text (#1925)
* Fix API endpoint for CassandraProxy query API * activate Mongo Proxy and Cassandra Proxy in Prod * Add CP Prod endpoint * Run npm format and tests * Revert code * fix bug that blocked local mongo proxy and cassandra proxy development * Add prod endpoint * fix pr check tests * Remove prod * Remove prod endpoint * Remove dev endpoint * Support data plane RBAC * Support data plane RBAC * Add additional changes for Portal RBAC functionality * Remove unnecessary code * Remove unnecessary code * Add code to fix VCoreMongo/PG bug * Address feedback * Add more logs for RBAC feature * Add more logs for RBAC features * Fix login for Entra ID text * Address comments --------- Co-authored-by: Asier Isayas <aisayas@microsoft.com>
This commit is contained in:
parent
bc479fb808
commit
806a0657df
|
@ -26,7 +26,7 @@ export const tokenProvider = async (requestInfo: Cosmos.RequestInfo) => {
|
||||||
);
|
);
|
||||||
if (!userContext.aadToken) {
|
if (!userContext.aadToken) {
|
||||||
logConsoleError(
|
logConsoleError(
|
||||||
`AAD token does not exist. Please use "Login for Entra ID" prior to performing Entra ID RBAC operations`,
|
`AAD token does not exist. Please click on "Login for Entra ID" button prior to performing Entra ID RBAC operations`,
|
||||||
);
|
);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -509,7 +509,8 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
|
||||||
onDismiss={() => setShowDataPlaneRBACWarning(false)}
|
onDismiss={() => setShowDataPlaneRBACWarning(false)}
|
||||||
dismissButtonAriaLabel="Close"
|
dismissButtonAriaLabel="Close"
|
||||||
>
|
>
|
||||||
Please click on "Login for Entra ID RBAC" prior to performing Entra ID RBAC operations
|
Please click on "Login for Entra ID RBAC" button prior to performing Entra ID RBAC
|
||||||
|
operations
|
||||||
</MessageBar>
|
</MessageBar>
|
||||||
)}
|
)}
|
||||||
<ChoiceGroup
|
<ChoiceGroup
|
||||||
|
|
Loading…
Reference in New Issue