C
Coder.com•3mo ago
TitiMoby

external auth to be able to clone a repository from GitHub or GitLab

From what I read in https://coder.com/docs/admin/external-auth it is possible to authenticate users through their GitHub credentials. But what if I just need them to authenticate to be able to clone a repository? I don't want to create an app or a token on my account for them to be able to clone. Did I misunderstand something?
External Auth - Coder Docs
Learn how to configure external authentication
From An unknown user
From An unknown user
9 Replies
Codercord
Codercord•3mo ago
<#1298654562693152829>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
anubis
anubis•3mo ago
you can add their ssh key to their account in github and then use the ssh link to the repo and it should work fine
TitiMoby
TitiMobyOP•3mo ago
the context is public workshops in conferences. So I need to be able to have a maximum of scripted actions as I don't have the information until last minute. I though I saw this kind of auth during a talk at DevFest Nantes so I'll also ask the speakers what they have done
Phorcys
Phorcys•3mo ago
hey, you need to create a GH app on your account to be able to clone through their account if the repo is public, then you don't need any kind of auth I didn't know DevFest Nantes was a thing, that's too bad since I live there 😅 oh by the way, are you going to SRECon EMEA next week? -- we'll be there so feel free to drop by our booth if you go
TitiMoby
TitiMobyOP•3mo ago
so a technical account is needed to get the token from their account. I guess it represent the fact that I link Coder to GitHub. I'll go that way
TitiMoby
TitiMobyOP•3mo ago
my friend and colleague Aurélie maintain a repository with all sort of tech event : https://developers.events/#/2024/calendar I won't be at SRECon. Maybe I can find a way to share the next events I will attend. For now, I sure to be at DevFest Toulouse with a tinygo talk and Codeurs en Seine with a AI workshop that needs Coder to be properly set up
Developer Conferences Agenda
This website lists a maximum of conference dates and CFP link to help conference organizers, speakers, sponsors and attendees.
Phorcys
Phorcys•3mo ago
yes, also if they log in through OAuth, I think they will still have to log in a second time through the external auth if I recall correctly it's two different things (you have to create a GitHub OAuth app for SSO and a GitHub Application for access to the token and such) oh thank you for the link, that's pretty neat!
TitiMoby
TitiMobyOP•3mo ago
you're welcome. see you at next question 🙂 /close
Codercord
Codercord•3mo ago
@Phorcys closed the thread.

Did you find this page helpful?