Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 866 Bytes

File metadata and controls

25 lines (18 loc) · 866 Bytes

Native authentication backend

Native configuration backend uses Decapod MongoDBs to store authentication tokens. Everytime when user logins into Decapod, it creates new authentication token and stores it in collection. Everytime user logouts, corresponding token is removed. Every token has TTL (Time-To-Live) and wipes out when time is came (this is done by using MongoDB TTL indexes).

To setup native authentication backend, just use following snippet for your decapod_install_and_configure_config_yaml. Place this snippet in api section of the config.

auth:
  type: native
  parameters: {}

This type of backend does not require any configuration. If you omit section api --> auth completely, this will imply.