vocoder
vocoder
HHomarr
Created by vocoder on 12/18/2024 in #💬・get-help
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_URL 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.
35 replies