Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce refresh token flow without cookie #2124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

szatmari-ferenc-codit
Copy link

Dear Contributors,

I would like to ask for your help regarding the pull request below. There is a need for a refresh token flow without using cookies. Since I couldn't find any documentation on this topic, I downloaded the code and implemented it. However, I have no experience with the GO language, and I'm not familiar with your codebase either. Nevertheless, we need this flow, and I would like to ask for your assistance on what is needed to include this feature in the next version.

The flow is as follows:

User logs in through the browser.
We store the following two header values from the response: X-Auth-Request-Access-Token, X-Auth-Request-Refresh-Token.
We call the following endpoint: oauth2/refresh (IMPORTANT: without using any cookies)
The request requires sending the following headers with the stored values:
Authorization: ${X-Auth-Request-Access-Token)
RefreshToken: ${X-Auth-Request-Refresh-Token}
We receive new values for the headers mentioned in step 2 in the response. We need to store them and repeat the refresh process.
I branched off from version 7.4. Thank you in advance for your assistance.

@szatmari-ferenc-codit szatmari-ferenc-codit requested a review from a team as a code owner June 2, 2023 09:06
@anannaya
Copy link

anannaya commented Aug 3, 2023

This would be very helpful feature in case kubectl access with refresh_token where the id_token expiry is 5min.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 3, 2023

This pull request has been inactive for 60 days. If the pull request is still relevant please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.

@xXluki98Xx
Copy link

@ferencszatmari could you fix the issue displayed in the codeclimate action?

Copy link
Contributor

This pull request has been inactive for 60 days. If the pull request is still relevant please comment to re-activate the pull request. If no action is taken within 7 days, the pull request will be marked closed.

@github-actions github-actions bot added the Stale label Jun 12, 2024
@github-actions github-actions bot closed this Jun 20, 2024
@tuunit tuunit reopened this Sep 15, 2024
@tuunit tuunit removed the Stale label Sep 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants