Replies: 2 comments 2 replies
-
We currently only fetch and expose an OAuth I wonder if Gitea supports being used as an OIDC provider to allow your users to sign in to Coder using Gitea. Here are some related docs if you want to experiment. |
Beta Was this translation helpful? Give feedback.
-
As discussed in #12704, if Gitea can add a data resource similar to GitLab's You can try using this to see if it can somehow give you the |
Beta Was this translation helpful? Give feedback.
-
Hello,
right now I am using this command for cloning from git repo:
find "/home/${local.username}/app" -maxdepth 0 -empty -exec git clone "https://${local.username}:${data.coder_external_auth.primary-gitea.access_token}@git.domain.com/name/project.git" "/home/${local.username}/app" \;
but this demands, that the git username equals the coder username (${local.username}:).
Is there any variable for accessing the username of the gitea user?
Beta Was this translation helpful? Give feedback.
All reactions