knpu_oauth2_client:
    clients:
        #        keycloak:
        #            type: keycloak
        #            # add and set these environment variables in your .env files
        #            client_id: '%env(OAUTH_CLIENT_ID)%'
        #            client_secret: '%env(OAUTH_CLIENT_SECRET)%'
        #            # Keycloak server URL
        #            auth_server_url: '%env(OAUTH_URL)%'
        #            # Keycloak realm
        #            realm: '%env(OAUTH_REALM)%'
        #            # a route name you'll create
        #            redirect_route: oauth_check
        #            redirect_params:
        #                service: keycloak

        keycloak:
            type: generic
            provider_class: App\Oauth2Provider\Keycloak\Keycloak
            # add and set these environment variables in your .env files
            client_id: '%env(OAUTH_CLIENT_ID)%'
            client_secret: '%env(OAUTH_CLIENT_SECRET)%'
            provider_options:
                # Keycloak server URL
                auth_server_url: '%env(OAUTH_URL)%'
                # Keycloak realm
                realm: '%env(OAUTH_REALM)%'
            # a route name you'll create
            redirect_route: oauth_check
            redirect_params:
                service: keycloak

        lemonLdap:
            type: generic
            provider_class: App\Oauth2Provider\LemonLdap\LemonLdap
            # add and set these environment variables in your .env files
            client_id: '%env(OAUTH_CLIENT_ID)%'
            client_secret: '%env(OAUTH_CLIENT_SECRET)%'
            provider_options:
                # LemonLdap server URL
                auth_server_url: '%env(OAUTH_URL)%'
            # a route name you'll create
            redirect_route: oauth_check
            redirect_params:
                service: lemonLdap

#    add other oauth2 client here @see https://github.com/knpuniversity/oauth2-client-bundle
