Closed tcompa closed 3 months ago
The solution used by @ychiucco in #1665 is to use https://dexidp.io containers. Quoting from the docs
Dex is an identity service that uses OpenID Connect to drive authentication for other apps. Dex acts as a portal to other identity providers through “connectors.” This lets Dex defer authentication to LDAP servers, SAML providers, or established identity providers like GitHub, Google, and Active Directory.
Apart from our testing use case, it's good to be aware of this mainstream tool - in case we'll get back to discussions about authentication in different environments.
Right now we are only testing some unit behaviors of the OAuth configuration, but we don't have the actual authentication procedure tested automatically.
We should explore automated testing, in view of when this authentication procedure will be used more.
There are multiple options: