0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

fix(console): remove userinfo endpoint on application details page (#1391)

This commit is contained in:
Xiao Yijun 2022-07-04 10:43:26 +08:00 committed by GitHub
parent 3ceb746b14
commit a837d793d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,22 +12,13 @@ type Props = {
const AdvancedSettings = ({ oidcConfig }: Props) => {
return (
<>
<FormField title="admin_console.application_details.token_endpoint">
<CopyToClipboard
className={styles.textField}
value={oidcConfig.token_endpoint}
variant="border"
/>
</FormField>
<FormField title="admin_console.application_details.user_info_endpoint">
<CopyToClipboard
className={styles.textField}
value={oidcConfig.userinfo_endpoint}
variant="border"
/>
</FormField>
</>
<FormField title="admin_console.application_details.token_endpoint">
<CopyToClipboard
className={styles.textField}
value={oidcConfig.token_endpoint}
variant="border"
/>
</FormField>
);
};