Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
openid_connect
Commits
c6e9949c
Commit
c6e9949c
authored
Jun 21, 2017
by
sanduhrs
Committed by
sanduhrs
Jun 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#2887981
by sanduhrs: Add hint for redirect URL
parent
f34ae7b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
src/Plugin/OpenIDConnectClientBase.php
src/Plugin/OpenIDConnectClientBase.php
+14
-0
No files found.
src/Plugin/OpenIDConnectClientBase.php
View file @
c6e9949c
...
...
@@ -102,6 +102,20 @@ abstract class OpenIDConnectClientBase extends PluginBase implements OpenIDConne
* {@inheritdoc}
*/
public
function
buildConfigurationForm
(
array
$form
,
FormStateInterface
$form_state
)
{
$redirect_url
=
URL
::
fromRoute
(
'openid_connect.redirect_controller_redirect'
,
[
'client_name'
=>
$this
->
pluginId
,
],
[
'absolute'
=>
TRUE
,
]
);
$form
[
'redirect_url'
]
=
array
(
'#title'
=>
$this
->
t
(
'Redirect URL'
),
'#type'
=>
'item'
,
'#markup'
=>
$redirect_url
->
toString
(),
);
$form
[
'client_id'
]
=
array
(
'#title'
=>
$this
->
t
(
'Client ID'
),
'#type'
=>
'textfield'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment