GNU/Linux xterm-256color fish 952 views

This is the second demo of WebIDAMd, now including PAM authentication.

It demonstrates how WebIDAMd can be used to provide Linux system user accounts and groups from a backend that speaks OAuth and REST. WebIDAMd uses systemd-userdbd for modern user and group information handling, and implements a userdbd service that retrieves data from an HTTP-based IdM.

Users can also login through PAM using the Resource Owner Password Grant Flow, which authenticates them with the OAuth backend using their plain password. This can be considered legacy, but is the easiest method to implement.

Configuration requires:

  • OAuth endpoints for authentication
  • REST endpoints for data retrieval
  • jq programs for versatile mapping of arbitrary JSON data from the backend onto systemd User and Group records

See the demo configuration used in this screencast, and the accompanying PAM module.