C
Coder.com•3d ago
Phet(Dam)

what url callback in external auth ?

i already create my template with external auth with self-hosted gitea to clone my code , and i create clinet_id with callback url with /login/oauth/authorize , after i login in gitea url it still on the same page and my template still disabled i dont have any idea with callback is ? should i need to redirect to my workspace url or something else ?
8 Replies
Codercord
Codercord•3d ago
<#1285554502572834960>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Phet(Dam)
Phet(Dam)•3d ago
this iamge is show the page is still same and i cannot create workspace
No description
Fl1nt
Fl1nt•3d ago
Currently I use: <coder.company.org>/external-auth/gitea/callback where coder.company.org is replaced with my own root url.
JustATempest
JustATempest•3d ago
I believe you can just use your domain. The integration automatically changed to the correct URL for github.
Fl1nt
Fl1nt•3d ago
He's using gitea 😉 Technically, we could all not have to enter anything as gitea/github/and al, all provide a oauth2 discovery endpoint.
Phet(Dam)
Phet(Dam)•2d ago
thank you, i already change to my own root url but i am still stuck on Gitea page after i loggin on Gitea, i m not sure it is working correctly or i miss something 🥹
Fl1nt
Fl1nt•2d ago
Can you share your external auth env variables (except id and secrets) and a screenshot of the gitea application you’ve set?
Phet(Dam)
Phet(Dam)•17h ago
Hi , it work now, i just change CODER_EXTERNAL_AUTH_0_AUTH_URL in my k8s , thank you
Want results from more Discord servers?
Add your server