HomarrH
Homarr14mo ago
34 replies
vocoder

Redirect URI wrong Protocol

Okay, getting further this time around. I almost could get in past
OIDC
but homarr's auth is building my
redirect_uri
as http not https. I tried with / without
NEXTAUTH_UR
L variable set (maybe dep at this point, but didnt make any diff).
Authelia
is obviously rejecting it, and i can't add http rules as they are insecure. It looks like the new version works with 256
PKCE
too. I run homarr as a reverse proxied service in that authelia.
looks like it's created with the headers, which may explain it. https://github.com/homarr-labs/homarr/blob/3b7e6cc083220a0e3a0cf4f5243c073067ba5bc7/packages/auth/redirect.ts#L11C14-L11C31 ..
Edit.. : https://github.com/homarr-labs/homarr/blob/3b7e6cc083220a0e3a0cf4f5243c073067ba5bc7/packages/common/src/url.ts#L7

This works 100% fine in the old version.
Solution
Fixed in about 25 minutes in release
v1.0.0-beta.7
Was this page helpful?