Maty
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Thank you very much for helping me!
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
And adding
RequestHeader set X-Forwarded-Proto "https"
to the Apache config has resolved it53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Ok so I just found out what it was, in Apache there was the proxy causing it
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Is there any way to check if I'm using a proxy or not?
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Okay, but I don't use a proxy server, I haven't configured it anywhere and tbh have no idea how to configure it
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
homarr | Constructing redirect uri protocol="http" source=x-forwarded-proto
homarr | Constructing redirect uri protocol="http" source=x-forwarded-proto
homarr | Constructing redirect uri protocol="http" source=x-forwarded-proto
homarr | Constructing redirect uri protocol="http" source=x-forwarded-proto
homarr | Constructing redirect uri protocol="http" source=x-forwarded-proto
homarr | Constructing redirect uri protocol="http" source=x-forwarded-proto (repeated 2 times)
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Ok, so I have changed the tag to the new one and unfortunately it still isn't working and here are the logs
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Great, thank you, good night
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Great, thanks!
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
I don't have a proxy at all
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
I have homarr running on https
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
And just to be safe, I have just tried it on a different computer on a different network and still got the same error
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Ok so they apparently have no idea, but even after disabling it - not using any proxy at all, the issue is still here
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Ok, so I just found out that my VPN comes with a proxy config, so let me check on what rules it uses
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Give me a moment to look, as I have no idea
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
So, I just tried OIDC with Okta instead of Microsoft. In Okta I am able to add the http version of the url, so I was almost able to login. Saying almost because I kept getting an OAuthCallback error. Using logs in Homarr I found this:
invalid_grant (The 'redirect_uri' does not match the redirection URI used in the authorization request.)
And then in Okta I found that the login uri uses http and then the uri for getting the token uses https.53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Added them and unfortunately I'm still getting the same error
53 replies
HHomarr
•Created by Maty on 8/23/2024 in #💬・get-help
OIDC - redirect URI problem
Great, thanks
53 replies