Skip to content

Conversation

@nheeb
Copy link

@nheeb nheeb commented Oct 8, 2025

Closes #3

@nheeb nheeb requested a review from SKernchen October 8, 2025 13:11
Copy link
Contributor

@SKernchen SKernchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The OAUTH is working pretty well.
However can you integrate the token you get, so that you can use it?
When you put it in the Token field it is not supported because it has the wrong form. And you are also not redirected to be authentificated. So that would be very helpful.

@nheeb
Copy link
Author

nheeb commented Nov 7, 2025

It seems the OAuth tokens have to be treated differently. They do not start with "glpat-" and we have to use Authorization: Bearer ... instead of Pivate-Token: ... in the Header.

@nheeb nheeb requested a review from SKernchen November 12, 2025 10:10
Copy link
Contributor

@SKernchen SKernchen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auth works nice, however fetching the pipeline does not work (I think because of the header).
So please include this (dashboard/main.js is one file for that).
Another thing that we discussed in the previous meeting was, if we include both headers or use an if-statement to distingluish (via name pattern) between them.
In my opinion the second way would be cleaner but I don't care

Alternatively you can use OAuth:
</p>
<button id="oauth-helmholtz-button">Connect to Helmholtz</button>
<button id="oauth-jugit-button" disabled>Connect to Jugit</button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why disabled?

@nheeb nheeb marked this pull request as draft November 25, 2025 09:43
…ces. Added module for user and git platform info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Oauth

3 participants