PHPackages                             martynwheeler/oauth2-komoot - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. martynwheeler/oauth2-komoot

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

martynwheeler/oauth2-komoot
===========================

Komoot OAuth2-Server Client Provider for The PHP League OAuth2-Client

0614PHP

Since Feb 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/martynwheeler/oauth2-komoot)[ Packagist](https://packagist.org/packages/martynwheeler/oauth2-komoot)[ RSS](/packages/martynwheeler-oauth2-komoot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Configuration:

```
knpu_oauth2_client:
    clients:
        # configure your clients as described here: https://github.com/knpuniversity/oauth2-client-bundle#configuration
        # will create service: "knpu.oauth2.client.komoot_oauth"
        # an instance of: KnpU\OAuth2ClientBundle\Client\OAuth2Client
        komoot_oauth:
            type: generic
            provider_class: MartynWheeler\OAuth2\Client\Provider\Komoot

            # optional: a class that extends OAuth2Client
            client_class: MartynWheeler\OAuth2\Client\Provider\KomootClient

            # optional: if your provider has custom constructor options
            # provider_options: {}

            # now, all the normal options!
            client_id: '%env(KOMOOT_ID)%'
            client_secret: '%env(KOMOOT_SECRET)%'
            redirect_route: connect_rwgps_check
            redirect_params: {}

```

Useage:

```
