14. LinOTP as OpenID Provider

Starting with version 2.4 LinOTP can work as an Identity Provider for OpenID. The data of the identity provider are stored in an SQL database. You need to specify the database URL in the linotp.ini file:

linotpOpenID.sql.url = mysql://linotp:test123!@localhost/LinOTP

If you do not specify this URL, the token database is used as default.

The users may authenticate with their identity in the form:

The users will be redirected to

to authenticate to LinOTP. Their authentication is stored within a cookie, which lifetime can be configured with /etc/linotp2/linotp.ini using the parameter:

linotpOpenID.CookieExpire = 3600