Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Last revision
Both sides next revision
|
blocks:server:form_authentication [2021-08-20 10:13] admin Removed hint for requireHttps, as implied with form based auth |
blocks:server:form_authentication [2022-12-13 13:12] admin |
The default authentication method of blocks is internalDigest, which doesn't support logout. Sometimes projects may call for a slightly more sophisticated method of authentication. This article describes how to set up blocks with the form authentication method. | The default authentication method of blocks is internalDigest, which doesn't support logout. Sometimes projects may call for a slightly more sophisticated method of authentication. This article describes how to set up blocks with the form authentication method. |
| |
First of all, stop the server and then follow [[blocks:server:https|this guide]] to set up blocks with a https certificate. Then add the following lines inside the //server// top level server item in the configuration (YML) file. | First of all, stop the server and then follow [[blocks:server:nginx|this guide]] to set up blocks with a https certificate. Then add the following lines inside the //server// top level server item in the configuration (YML) file. |
| |
:!: **IMPORTANT**: There's an indent of two spaces for the //auth// item, so it becomes nested under your //server// item. | :!: **IMPORTANT**: There's an indent of two spaces for the //auth// item, so it becomes nested under your //server// item. |