Git (with Gitea) done with https - how to pass thru SSO? #1630
Unanswered
AttaInsularis
asked this question in
Q&A
Replies: 1 comment
-
|
The use of Rule for path on Resource does not work either. Added If ?service=git-receive-pack&p_token=value.token added it's not recognized (not the path but query param) and thus can't be used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running Gitea behind Pangolin, there are two options (if user can’t use SSH):
git push, orfatal: unable to update url base from redirection:caused rightfully by SSO.I tried using a shareable link that includes a token parameter, e.g.
https://sub.mydomain.com/git/test.git?p_token=valueid.valuetoken, but this doesn't work.
The problem may be that after
git pushGit appends additional path elements, such ashttps://sub.mydomain.com/git/test.git +
/info/refs?service=git-receive-pack, so the token stuck in the middle.Does anyone know how to push thru so that users with a token can operate behind SSO?
Beta Was this translation helpful? Give feedback.
All reactions