Here is documentation about integrating Unikname Connect with any Symfony applications.
Compatibility: Symfony 4.4.x/5.x and more
Our recommendation is to start with the following bundle for Symfony:
Installation in your Symfony application
You can follow the official documentation for your application HWIOAuthBundle/index.md at master · hwi/HWIOAuthBundle · GitHub
You can also use Composer:
composer require hwi/oauth-bundle
When configuring the “resource owner”, chose “Others” in the list
Then use the following configuration for the OAuth2 config (Unikname Connect doesn’t support OAuth 1):
# app/config/config.yml hwi_oauth: resource_owners: my_custom: type: oauth2 class: \HWI\Bundle\OAuthBundle\OAuth\ResourceOwner\GenericOAuth2ResourceOwner client_id: <client_id> client_secret: <client_secret> access_token_url: https://connect.unikname.com/oidc/accessToken authorization_url: https://connect.unikname.com/oidc/authorize infos_url: https://connect.unikname.com/oidc/profile scope: "openid" user_response_class: HWI\Bundle\OAuthBundle\OAuth\Response\PathUserResponse paths: identifier: sub
<client_secret> by these provided by the Unikname team.
Of course, you also need a Unikname Connect account to be able to finalize the set up of your application:
How to get help?
If you have questions or need help to do this integration, just ask below