add buttons for sso config and logs on internal admin page (#14997)

* add translation support to subscription admin page

* pass groupId to internal subscription admin page

needed for the SSO config modal

* display buttons for sso config and logs on internal admin page

uses the SSOConfigurationModal, which needs a `groupId` to
identify the subscription.

* fix frontend tests

* Added SSO config fetch after refactor

---------

Co-authored-by: Miguel Serrano <mserranom@gmail.com>
GitOrigin-RevId: 13bec515dac9c6654869e12e088e0cc15a078ef8
This commit is contained in:
Brian Gough 2023-10-02 09:21:24 +01:00 committed by Copybot
parent 5126940084
commit afcac7af86
3 changed files with 3 additions and 0 deletions

View file

@ -1058,6 +1058,7 @@
"sso_is_enabled_explanation_1": "",
"sso_is_enabled_explanation_2": "",
"sso_link_error": "",
"sso_logs": "",
"start_a_free_trial": "",
"start_by_adding_your_email": "",
"start_free_trial": "",

View file

@ -1643,6 +1643,7 @@
"sso_is_enabled_explanation_1": "Group members will <0>only</0> be able to sign in via SSO",
"sso_is_enabled_explanation_2": "If there are any problems with the configuration, only you (as the group administrator) will be able to disable SSO.",
"sso_link_error": "Error linking account",
"sso_logs": "SSO Logs",
"sso_not_linked": "You have not linked your account to __provider__. Please log in to your account another way and link your __provider__ account via your account settings.",
"sso_user_denied_access": "Cannot log in because __appName__ was not granted access to your __provider__ account. Please try again.",
"standard": "Standard",

View file

@ -8,4 +8,5 @@ export type Subscription = {
admin_id: string
groupPlan: boolean
customAccount: boolean
ssoConfig: object
}