C
Coder.com7mo ago
Sky

external auth not working properly

I've tried my best to configure both the github auth, and the github external authentication for access of private repo's. However after configuring everything, it seems that my external authentication isnt working properly... as It says it got an error. I dont get what I can do to fix this? While we are at it too, how do I make it so only people from the same org as me in github can log in? I tried configuring it but it didnt seem to work. do I have to add my app to my org? or something? if so how?
No description
10 Replies
Codercord
Codercord7mo ago
<#1211988981474922566>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Šimon DJ Čecháček
Not sure about the organization on Github. But can you share your config for the external auth? (ofc redact all sensitive info)
Sky
Sky7mo ago
this is how I got my app created:
No description
Sky
Sky7mo ago
this is the config of the stack for coder:
No description
Sky
Sky7mo ago
got these enabled on the github app:
No description
No description
No description
No description
No description
Sky
Sky7mo ago
No description
Šimon DJ Čecháček
Not sure if you dont need to specify the urls for the app, but for github they should be the same for all users. https://coder.com/docs/v2/latest/admin/external-auth#multiple-external-providers-enterprise
External Auth - Coder v2 Docs
Learn how connect Coder with external auth providers
Sky
Sky7mo ago
lemme try that no I dont think so cause I'm not adding an extra auth that doesnt use github from what I can understand, if I'm using github, it already knows how to deal with the urls... I guess I just need to send the app to my users first? so they can install it in their acc?
Šimon DJ Čecháček
To be honest, I can't helo with the app :/ I worked only in gitlab where I am the owner of the whole instance. I only tried to help with checking the config as that si the only similar part. I am sorry.
Phorcys
Phorcys7mo ago
what's the URL of the page when this issue gets displayed ?
Want results from more Discord servers?
Add your server