uv.panta
CCoder.com
•Created by uv.panta on 4/10/2025 in #help
github oauth always throwing error when used with organisation option enabled
Hey all,
need a bit of help here because I'm out of all options now.
I'm trying to set up GitHub for user authentication following this guide:
https://coder.com/docs/admin/users/github-auth
What I did was:
- Created a GitHub App for my organisation
- Used the client ID & Secret to set coder's environment variables. Here's what my env looks like:
Now, when I try to login, this is what I get:
You aren't a member of the authorized GitHub organizations!
I've double-checked I'm a member as well as owner of the github organisation. I'm not sure if there's something I'm doing wrong or this is some sort of bug.
Coder version is: v2.21.0
Any response would be appreciated.
16 replies