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 ?
10 Replies
<#1285554502572834960>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
this iamge is show the page is still same and i cannot create workspace
Currently I use: <coder.company.org>/external-auth/gitea/callback where coder.company.org is replaced with my own root url.
I believe you can just use your domain. The integration automatically changed to the correct URL for github.
He's using gitea 😉
Technically, we could all not have to enter anything as gitea/github/and al, all provide a oauth2 discovery endpoint.
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 🥹
Can you share your external auth env variables (except id and secrets) and a screenshot of the gitea application you’ve set?
Hi , it work now, i just change CODER_EXTERNAL_AUTH_0_AUTH_URL in my k8s , thank you
great news @Phet(Dam)!
closing the issue :)
@Phorcys closed the thread.