First you will have to register your application on Amazon. Check out the documentation for more information: https://login.amazon.com/documentation.
Next configure a resource owner of type amazon
with appropriate
client_id
, client_secret
and scope
. Refer to the Amazon documentation
for the available scopes.
# config/packages/hwi_oauth.yaml
hwi_oauth:
resource_owners:
any_name:
type: amazon
client_id: <client_id>
client_secret: <client_secret>
scope: "name email"
When you're done. Continue by configuring the security layer or go back to setup more resource owners.