SAML | AZURE: "An authentication exception occurred." - how to troubleshoot? #5403
-
I'm using Kimai 2.30.0 with Docker, trying to set up Azure SAML SSO. When I try to log in, I get this generic error message: I don't see anything useful in the logs:
According to the Azure application logs, the login was successful, but I only see this error on the website. How am I supposed to troubleshoot this? How can I learn what this error actually means? here's my compose file:
local.yaml is like in docs for setting up Azure SSO. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Same error over here, I think this has been reported since last year, but there is no good answer or it is unfinished, if you have progress with your case, I would be very grateful when you solve it. |
Beta Was this translation helpful? Give feedback.
-
Docker => usually a mixup of http vs https in the config and/or missing forwarded reverse proxy header |
Beta Was this translation helpful? Give feedback.
-
No, it has to be a bug, I have tried from cloudrun, load balancer, instance, plesk and it definitely does not work, any alternative? I know it is a lot to ask, but these settings should be inside the APP and not in a file, thank you very much for your time, for this software and for answering. |
Beta Was this translation helpful? Give feedback.
-
Wow, I didn't expect you to make fun of people who try to use your application, I just mentioned that it might be a bug because I'm not the only one who gets it. But no problem, keep it up |
Beta Was this translation helpful? Give feedback.
-
Hi, with docker I tried from different types of installation, azure, plesk, ubuntu+portainer, GCP, the problem may be the proxy or the way it is invoked. the thing is that I could not get SSO to work this way. Your azure configuration is fine finally i was able to achieve it using this configuration in plesk https://www.kimai.org/documentation/shared-hosting.html it doesn't work with PHP 8.3 (you have memory errors) only with 8.1, but I guess a clean install might work for you. hopefully this will help you, it's a lot of configurations for this purpose, maybe if you pay kevin he can help you, instead of answering with a rock in his hand. That's opensource software, kevin does a great job and he has to live and maintain this wonderful tool, but hopefully he can at least answer to someone who just asks a question. |
Beta Was this translation helpful? Give feedback.
I have activated SAML for multiple customers using Docker without issue.
What is so complicated? Editing a YAML file? Participating in Open Source software?