From 26ffa52ae2c53f4fe802fa9afdace6e5a3828012 Mon Sep 17 00:00:00 2001 From: aynsix Date: Mon, 2 Oct 2023 20:04:29 +0300 Subject: [PATCH] remove placeholder --- .../PhraseanetService/Form/PSExposeConnectionType.php | 1 - templates/web/admin/phraseanet-service/expose.html.twig | 8 +++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/PhraseanetService/Form/PSExposeConnectionType.php b/lib/Alchemy/Phrasea/PhraseanetService/Form/PSExposeConnectionType.php index 77a5a7059a..ef570deb8f 100644 --- a/lib/Alchemy/Phrasea/PhraseanetService/Form/PSExposeConnectionType.php +++ b/lib/Alchemy/Phrasea/PhraseanetService/Form/PSExposeConnectionType.php @@ -73,7 +73,6 @@ public function buildForm(FormBuilderInterface $builder, array $options) 'required' => false, 'attr' => [ 'class' => 'input-xxlarge', - 'placeholder' => 'https://keycloak.phrasea.fr/realms/master/protocol/openid-connect/token or https://api-auth.phrasea.local/oauth/v2/token' ] ]) ->add('auth_client_secret', TextType::class, [ diff --git a/templates/web/admin/phraseanet-service/expose.html.twig b/templates/web/admin/phraseanet-service/expose.html.twig index 557e38eef5..213bffbd4b 100644 --- a/templates/web/admin/phraseanet-service/expose.html.twig +++ b/templates/web/admin/phraseanet-service/expose.html.twig @@ -44,7 +44,13 @@
- {{ form_row(form.oauth_token_uri) }} + {{ form_label(form.oauth_token_uri) }} +
+ expose v2 : https://api-auth.phrasea.local/oauth/v2/token +
+ expose v3 : https://keycloak.phrasea.fr/realms/master/protocol/openid-connect/token +
+ {{ form_widget(form.oauth_token_uri) }}