Skip to content
TheVinc edited this page Oct 22, 2014 · 2 revisions

To configure an oauthd instance, you can override properties in the config.js file.

The following properties are available:

  • host_url: the url on which your server is mounted, by default http://localhost:6284
  • port: The port on which your server shall run, by default 6284
  • staticsalt: a random string for hash generation, required for more security
  • publicsalt: another random string for hash generation, required for more security
  • redis: an object containing your redis configuration. By default:
{
	port: 6379,
	host: '127.0.0.1',
	// password: '...my redis password...',
	// database: ...0~15...
	// options: {...other options...}
},

Other properties can be added by plugins for you to override. Please refer to each plugin's documentation for more information.