mirror of
https://github.com/etkecc/synapse-admin.git
synced 2025-05-04 01:52:55 +03:00
Add SSO external_ids
to user (#168)
This commit is contained in:
parent
07b1df5855
commit
bf3d13916f
4 changed files with 23 additions and 1 deletions
src/components
|
@ -1,6 +1,7 @@
|
|||
import React, { cloneElement, Fragment } from "react";
|
||||
import Avatar from "@material-ui/core/Avatar";
|
||||
import PersonPinIcon from "@material-ui/icons/PersonPin";
|
||||
import AssignmentIndIcon from "@material-ui/icons/AssignmentInd";
|
||||
import ContactMailIcon from "@material-ui/icons/ContactMail";
|
||||
import DevicesIcon from "@material-ui/icons/Devices";
|
||||
import GetAppIcon from "@material-ui/icons/GetApp";
|
||||
|
@ -332,6 +333,23 @@ export const UserEdit = props => {
|
|||
</ArrayInput>
|
||||
</FormTab>
|
||||
|
||||
<FormTab
|
||||
label="synapseadmin.users.tabs.sso"
|
||||
icon={<AssignmentIndIcon />}
|
||||
path="sso"
|
||||
>
|
||||
<ArrayField source="external_ids" label={false}>
|
||||
<Datagrid style={{ width: "100%" }}>
|
||||
<TextField source="auth_provider" sortable={false} />
|
||||
<TextField
|
||||
source="external_id"
|
||||
label="resources.users.fields.id"
|
||||
sortable={false}
|
||||
/>
|
||||
</Datagrid>
|
||||
</ArrayField>
|
||||
</FormTab>
|
||||
|
||||
<FormTab
|
||||
label={translate("resources.devices.name", { smart_count: 2 })}
|
||||
icon={<DevicesIcon />}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue