New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to authenticate with Reddit #2
Comments
i am not really sure how to debug users' network errors or configs (if that is the issue here as with #1) as i am not too versed in that field unfortunately. can i ask that you try it on localhost with the default redirect uri first to confirm that it's working or not? so that we can tell if it's an issue with expanse or otherwise. though since it runs in docker and ive tested it without issue i suspect it is not. after that, you are on your own as for how you host it publicly
when i tested, this happens if the redirect uri is not the same in the app at https://www.reddit.com/prefs/apps and in the env file
the redirect uri must always end in "/callback", in case you just put the (sub)domain by itself the logs for the db are normal. the other logs say that your user got denied. can you paste the allowed and denied lists of your env file (with sensitive info substituted) here? |
So, I think I figured it out. It was the ALLOWED_USERS list. I did not have a space between the two user IDs like so: ALLOWED_USERS="user1,user2" Pfft. Excited to test it out, now! |
Super excited to try this out! Thanks for making this happen! I have, though, run into a setup issue...
Some notes on my configuration
I am seeing the following in the logs
From the database:
From the app:
I've tried to figure out where localhost:1301 is being set, but can't find it. I have found that that can cause issues if it doesn't match the domain that I a using on the network. It is updated in the .env_prod file. This may not be related to this particular issue, but thought it wroth mentioning.
Let me know what other questions you have. At the moment, this is all the info that I can find on the issue. And I fully recognize that this very well could be a pebkac errror. Any help is greatly appreciated.
The text was updated successfully, but these errors were encountered: