Oxygen Git integration does not work for me
Oxygen general issues.
-
- Posts: 3
- Joined: Wed Sep 29, 2021 11:21 am
Oxygen Git integration does not work for me
Hi!
We'd like to introduce our students GIT with Oxygen XML Editor.
Now I did install the Git Client 2.5.2 Add-On and tried an upload to our GIT Server. Unfortunately it does not work. I get an exception:
I see no configuration dialog where I can enter the access token as mentioned on https://www.oxygenxml.com/doc/versions/ ... addon.html.
What did I miss?
TIA,
GreatOm
We'd like to introduce our students GIT with Oxygen XML Editor.
Now I did install the Git Client 2.5.2 Add-On and tried an upload to our GIT Server. Unfortunately it does not work. I get an exception:
We run a local GitLab installation which works fine, e.g. using Xcode with access token used and no user sign-in.org.eclipse.jgit.api.errors.TransportException: https://…/: Redirection blocked: redirect https://…/ -> https://…/users/sign_in not allowed
I see no configuration dialog where I can enter the access token as mentioned on https://www.oxygenxml.com/doc/versions/ ... addon.html.
What did I miss?
TIA,
GreatOm
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Oxygen Git integration does not work for me
Post by alex_jitianu »
Hello,
The Git plugin supports authentication through Personal Access Tokens. It is possible that you've activated OAuth authentication on your GitLab repositories which is not supported by the plugin. The OAuth authentication usually pops up a browser in which the user inputs its credentials and the application receives in return a token to use when interacting with the repository.
You could install a SSH key on the user systems and go with this type of authentication inside the Git plugin.
Best regards,
Alex
The Git plugin supports authentication through Personal Access Tokens. It is possible that you've activated OAuth authentication on your GitLab repositories which is not supported by the plugin. The OAuth authentication usually pops up a browser in which the user inputs its credentials and the application receives in return a token to use when interacting with the repository.
You could install a SSH key on the user systems and go with this type of authentication inside the Git plugin.
Best regards,
Alex
-
- Posts: 3
- Joined: Wed Sep 29, 2021 11:21 am
Re: Oxygen Git integration does not work for me
Hi Alex,
Thanks for your reply.
My GIT Server does Support Access Tokens and I use one successful from Xcode.
My problem is that there is no dialog where I can enter the token in Oxygen/GIT-Add-on.
The "Git Client Add-on" page states:
BTW: I want to add a new file to the GIT repository. I did not clone an existing repository.
Any clue what's wrong?
Thanks for your reply.
My GIT Server does Support Access Tokens and I use one successful from Xcode.
My problem is that there is no dialog where I can enter the token in Oxygen/GIT-Add-on.
The "Git Client Add-on" page states:
But I find no way to enter the token.The Git Client allows you to authenticate … or a personal access token.
BTW: I want to add a new file to the GIT repository. I did not clone an existing repository.
Any clue what's wrong?
-
- Posts: 1016
- Joined: Wed Nov 16, 2005 11:11 am
Re: Oxygen Git integration does not work for me
Post by alex_jitianu »
Hello,
I'm not entirely sure why the credential dialog doesn't pop up. Because the error message said something about redirect, I assume this has something to do with a OAuth flow, in which redirections happen. Did you connect XCode to GitLab like this?
https://developer.apple.com/documentati ... changes=_7
Best regards,
Alex
I'm not entirely sure why the credential dialog doesn't pop up. Because the error message said something about redirect, I assume this has something to do with a OAuth flow, in which redirections happen. Did you connect XCode to GitLab like this?
https://developer.apple.com/documentati ... changes=_7
The way Git works, you always always have a local repository (also called clone). You make changes like adding new files, you then commit the change in the local repository and, at a later time, you push the commits into the remote repository which is linked to the local one. Some tools might hide this process and some Git distributions like GitLab or GitHub might also offer APIs that short-circuits this process, but Oxygen's Git client works only in the classic process: you need to clone the repository, add the file, commit and push.BTW: I want to add a new file to the GIT repository. I did not clone an existing repository.
Best regards,
Alex
-
- Posts: 3
- Joined: Wed Sep 29, 2021 11:21 am
Re: Oxygen Git integration does not work for me
Many thanks Alex.
I did now create a new empty project in GIT.
A clone from Oxygen was successful and this time I could use an access token.
Now I was able to add a new file to then local project and it was successfully pushed to the remote repository.
So my problem is solved and we can start using GIT with Oxygen.
I did now create a new empty project in GIT.
A clone from Oxygen was successful and this time I could use an access token.
Now I was able to add a new file to then local project and it was successfully pushed to the remote repository.
So my problem is solved and we can start using GIT with Oxygen.
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service