Download the PHP package halloverden/symfony-oidc-client-bundle without Composer
On this page you can find all versions of the php package halloverden/symfony-oidc-client-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download halloverden/symfony-oidc-client-bundle
More information about halloverden/symfony-oidc-client-bundle
Files in halloverden/symfony-oidc-client-bundle
Package symfony-oidc-client-bundle
Short Description OpenID Connect client bundle for symfony
License MIT
Informations about the package symfony-oidc-client-bundle
oidc-client-bundle
OpenID Connect client bundle for symfony
Install
composer require halloverden/symfony-oidc-client-bundle
- Copy
hallo_verden_oidc_client.yaml
into your project folder and edit it to suit your needs.
Authenticators
Authenticators can be used to allow authentication with an access token from your OpenID provider.
- Create class that implements
HalloVerden\Security\Interfaces\OauthUserProviderServiceInterface
-
Enable authenticators and the class you want to use as services
- Add authenticators to your security config.
OauthAuthorizeService
You can use the OauthAuthorizeService to login users from the backend.
-
Enable the service:
-
Create two controllers:
Make sure your redirect_uri is to the handle controller.
You can now redirect you user to /authorize and you can listen to the
AuthorizedEvent
to know when a user is authorized.
Examples
Get AccessToken with client credentials grant
All versions of symfony-oidc-client-bundle with dependencies
symfony/framework-bundle Version ^6.4|^7.1
halloverden/symfony-oidc-contracts Version ^2.0
symfony/http-client Version ^6.4|^7.4
jms/serializer-bundle Version ^5.0
nyholm/psr7 Version ^1.3
web-token/jwt-bundle Version ^3.0
web-token/jwt-checker Version ^3.0
web-token/jwt-signature Version ^3.0
web-token/jwt-signature-algorithm-rsa Version ^3.0
spomky-labs/base64url Version ^2.0