Skip to content

Commit 5e80ad4

Browse files
committed
Fix to make implicit authorization flow to work
Currently implicit authorization can not be fully tested using the client as it is referencing an undefined variable. This pull request fixes it to refer to the function instead
1 parent 29f0a58 commit 5e80ad4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/client/show_implicit_token.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
Now use this token to make a request to the OAuth2.0 Server's APIs:
2727
</p>
2828

29-
<a class="button" href="{{ path('request_resource') }}" onclick="this.href += '?token='+tokenParams.access_token;">make a resource request</a>
29+
<a class="button" href="{{ path('request_resource') }}" onclick="this.href += '?token='+getAccessToken();">make a resource request</a>
3030

3131
<div class="help"><em>This token can now be used multiple times to make API requests for this user.</em></div>
3232

0 commit comments

Comments
 (0)