Step 2x: Setup itembase

December 10, 2021 ยท View on GitHub

After you obtained a client id and client secret from itembase (see here how to do that), you are ready to use HWIOAuthBundle to integrate OAuth2 flow.

Configure a resource owner of type itembase with appropriate client_id, client_secret and scope (more information can be found in the documentation).

# config/packages/hwi_oauth.yaml

hwi_oauth:
    resource_owners:
        some_name:
            type:                itembase
            client_id:           <client_id>
            client_secret:       <client_secret>
            scope:               <scope_string>

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