r-anime / flairsite

Site for awarding and setting custom flairs
https://flair.r-anime.moe
MIT License
5 stars 1 forks source link

HTTPS redirect URL for Reddit auth #4

Closed eritbh closed 3 years ago

eritbh commented 3 years ago

Even with REDIRECT_URI set with HTTPS, the redirect URI sent to Reddit uses plain HTTP. This results in the error "you sent an invalid request — invalid redirect_uri parameter" from Reddit. Not sure if I've misconfigured or something.

I've set the site up with the HTTP redirect for now for testing, but the site shouldn't be considered "live" until this is fixed.

eritbh commented 3 years ago

fixed with fce3de7, the ACCOUNT_DEFAULT_HTTP_PROTOCOL variable needed to be set.