Step 2x: Setup Discogs

December 10, 2021 ยท View on GitHub

First you will have to register your application on Discogs at https://www.discogs.com/applications/edit (You need to be logged in). Make sure you enter the correct callback url (for example: http://yourapp.domain/login/check-discogs).

Next configure a resource owner of type discogs with appropriate client_id, client_secret.

# config/packages/hwi_oauth.yaml

hwi_oauth:
    resource_owners:
        any_name:
            type:                discogs
            client_id:           <client_id>
            client_secret:       <client_secret>

When you're done. Continue by configuring the security layer or go back to setup more resource owners.