30 lines
486 B
Markdown
30 lines
486 B
Markdown
|
- siehe `~/projekte/linke/sonstiges/authelia-callbacks`
|
||
|
|
||
|
- Espe macht HTTP-Request zu `callbacks.authelia.linke.sx` mit Nutzerliste als Rumpf (Authentifizierung?)
|
||
|
|
||
|
- submit
|
||
|
- timestamp
|
||
|
- userlist
|
||
|
- authhash (`sha256(timestamp+secret)`)
|
||
|
|
||
|
|
||
|
```
|
||
|
type type_data = Record<
|
||
|
string,
|
||
|
{
|
||
|
disabled : boolean;
|
||
|
displayname : string;
|
||
|
email : string;
|
||
|
groups : Array<string>;
|
||
|
password : string;
|
||
|
}
|
||
|
>;
|
||
|
|
||
|
type type_payload = {
|
||
|
timestamp : int;
|
||
|
authhash : string;
|
||
|
data : type_data;
|
||
|
}
|
||
|
|
||
|
```
|