You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: security/access_token.rst
+121Lines changed: 121 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -875,6 +875,127 @@ create your own User from the claims, you must
875
875
}
876
876
}
877
877
878
+
3) Configure the Oauth2TokenHandler
879
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
880
+
881
+
Symfony provides a generic access token handler that calls the configured token introspection endpoint to validate the token and retrieve the user information from it.
882
+
It requires the ``symfony/http-client`` package to make the needed HTTP requests. If you haven't installed it yet, run this command:
883
+
884
+
.. code-block:: terminal
885
+
886
+
$ composer require symfony/http-client
887
+
888
+
First, configure a dedicated scoped HTTP client for the token handler:
0 commit comments