Can't get SSO to work with Authentik
Hi there,
I was pleased to learn that this new version would include SSO. I was looking for it so I tested straight away.
Unfortunately, I can't get it to work, I will always get a popup with the error:
And this, despite I have the redirect URL configured to a regex https://xormon.mydomain/api/oidc/v1/*
I've also tried to both strict URL mentioned in documentation, this didn't change.
I share my Xormon SSO configuration just in case:
PS: I've many apps already working with the same Authentik instance
Thanks in advance! 😉👌
Comments
-
I've just tested Authentik and it works. Are you setting the redirect URLs correctly?
-
Hi,
Strange, this is what I have in my redirect URL(s):
Of course, <xormon-server> was replaced by my external Xormon URL! 😊
And I also tried this as in documentation (of course with my domain):
https://<xormon-server>/api/oidc/v1/roles for test and https://<xormon-server>/api/oidc/v1/login for login
I didn't put the redirect URL straight away, so I'll rebuild it from scratch to be sure.
-
for regex try /.* instead of just /* wildcard
-
Hi,
Sorry, I thought I did answer the last comment but I probably forgot...
Unfortunately, the new regex didn't solve the issue.
Any idea where I can start looking? Reverse proxy settings?
-
When you see the redirect URI error in new window, what is the redirect URL in address bar? Is it same as entered in Authentik?
-
Nope, I see that (replaced values with X) : https://auth.myexternal.domain/application/o/authorize/?redirect_uri=https%3A%2F%2F192.168.X.Y
So it takes my Xormon macvlan IP address on local network and I would say"of course" it doesn't work from outside... 😊
At some point, this app reacts differently from the others (i use only macvlan for containers) but I don't know how to fix that.
-
For now, set preserve host in your proxy configuration.
In next Xormon version we can try to lookup proxy host from headers.
-
Hi,
Thanks a lot, that helped, I can now login (also learned something at the same time!)
Howdy, Stranger!
Categories
- 1.7K All Categories
- 113 XorMon
- 26 XorMon Original
- 169 LPAR2RRD
- 14 VMware
- 19 IBM i
- 2 oVirt / RHV
- 4 MS Windows and Hyper-V
- Solaris / OracleVM
- 1 XenServer / Citrix
- Nutanix
- 8 Database
- 2 Cloud
- 10 Kubernetes / OpenShift / Docker
- 139 STOR2RRD
- 20 SAN
- 7 LAN
- 19 IBM
- 7 EMC
- 12 Hitachi
- 5 NetApp
- 17 HPE
- 1 Lenovo
- 1 Huawei
- 3 Dell
- Fujitsu
- 2 DataCore
- INFINIDAT
- 4 Pure Storage
- Oracle


