Fork me on GitHub

After the plugin is installed, there will be a config file named auth.js copied to your /config/plugins folder. Below is the default value provided along with its explanation. Change / override it as you wish to meet your requirements.

Config Values

api.config.auth

This section contains configuration directly related to ah-auth-plugin.

api.config.jwt

This section contains configuration needed to sign, verify and decode JSON Web Token.

api.config.scrypt

This section contains configuration for encoding / decoding user’s password. scrypt is the default but you can define your own password hasher, as explained later in Custom Password Hasher.