OpenID Connect
Mauro can use OpenID Connect (OIDC) to authenticate and authorise users.
Firstly, configure a provider that supports OpenID. E.g.
You will get a client secret, and a client id once you create an application client with a provider.
Once you have the client secret, a client id, and the issuer URL you can configure authentication by editing /opt/init/micronaut/application-mauro.yml and add section like this:
1 2 3 4 5 6 7 8 9 10 11 12 | |
which will configure micronaut to produce an authorisation endpoint, and add another section like this:
1 2 3 4 5 6 | |
which will configure Mauro to surface a log in button called <<Your button label>> on the user interface,
using the <<provider>> authentication.
E.g. if you were to call your <<provider>> microsoft-azure it would look similar to this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | |
Proxies¶
If the container is being proxied, for the authentication process to work, please follow the Proxy instructions.