Closed dominikjas closed 1 year ago
I can't see where you are specifying the remote auth endpoint.
kimai:
saml:
provider: azure
activate: true
title: Login with Azure AD
mapping:
- { saml: $http://schemas.xmlsoap.org/ws/2005/05/identity/claims/name, kimai: username }
- { saml: $http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress, kimai: email }
- { saml: $http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname $http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname, kimai: alias }
- { saml: $http://schemas.xmlsoap.org/ws/2005/05/identity/claims/displayname, kimai: title }
roles:
....
As outlined here https://www.kimai.org/documentation/saml-azure.html but error reads that you are connecting to an https endpoint with http.
Either way, this isn't (I think) a container issue. You want the actual Kimai repo https://github.com/kimai/kimai
Yes you're right I didn't post this local.yaml-config. I had to delete the part "provider" in this config to get the saml-function working at all. Well the solution was to set the baseurl under the section connection in the local.yaml. This was not described in this Doc https://www.kimai.org/documentation/saml-azure.html but you can find this at the very end of this Doc https://www.kimai.org/documentation/saml.html#proxy-and-http-vs-https
Hello,
I'm trying to set up Azure SAML Authentication for Kimai in Docker. I'm running with this Dockerfile:
Upfront to it I'm running a nginx proxy manager with this config:
Everthing besides the SAML Authentications works fine. When I'm trying to authenticate via Azure I'm getting this error:
The serverlog shows this error:
Actually, I would have thought that these entries (X-FORWARD ..) would eliminate exactly this behavior, but maybe I still have a mistake in my thinking.
Any ideas to this?