SUSE / linux-security-sensor

Linux security sensor
Other
18 stars 9 forks source link

[RFC/WIP] User authentication HTML templates #16

Closed jeffmahoney closed 2 years ago

jeffmahoney commented 2 years ago

This PR allows the builder to create their own template pages for unauthenticated users, unauthorized users, and logoff rather than relying on the default simple html messages. This works only for OAUTH2 for now.

jeffmahoney commented 2 years ago

The use of nested functions in the OAUTH2 code makes calling them cleaner but I'm going to have to pull those out into real functions to extend the implementation beyond OAUTH2. I'm out of time for tonight, though.

jeffmahoney commented 2 years ago

It turns out that the upstream project has added this recently so this work will be abandoned.