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:
sindhuba 2024-08-05 15:41:54 -07:00 committed by GitHub
parent bc479fb808
commit 806a0657df
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -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;
} }

View File

@ -509,7 +509,8 @@ export const SettingsPane: FunctionComponent<{ explorer: Explorer }> = ({
onDismiss={() => setShowDataPlaneRBACWarning(false)} onDismiss={() => setShowDataPlaneRBACWarning(false)}
dismissButtonAriaLabel="Close" dismissButtonAriaLabel="Close"
> >
Please click on &quot;Login for Entra ID RBAC&quot; prior to performing Entra ID RBAC operations Please click on &quot;Login for Entra ID RBAC&quot; button prior to performing Entra ID RBAC
operations
</MessageBar> </MessageBar>
)} )}
<ChoiceGroup <ChoiceGroup