Skip to content

Commit

Permalink
remove placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
aynsix committed Oct 2, 2023
1 parent b8759b4 commit 26ffa52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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, [
Expand Down
8 changes: 7 additions & 1 deletion templates/web/admin/phraseanet-service/expose.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,13 @@
</div>

<div class="control-group auth-field">
{{ form_row(form.oauth_token_uri) }}
{{ form_label(form.oauth_token_uri) }}
<div style="margin-top: 10px; margin-bottom: 10px;">
expose v2 : https://api-auth.phrasea.local/oauth/v2/token
<br>
expose v3 : https://keycloak.phrasea.fr/realms/master/protocol/openid-connect/token
</div>
{{ form_widget(form.oauth_token_uri) }}
</div>

<div class="control-group auth-field">
Expand Down

0 comments on commit 26ffa52

Please sign in to comment.