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?
10 Replies
<#1211988981474922566>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Not sure about the organization on Github. But can you share your config for the external auth? (ofc redact all sensitive info)
this is how I got my app created:
this is the config of the stack for coder:
got these enabled on the github app:
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
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?
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.
what's the URL of the page when this issue gets displayed ?