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

After successful login, how to obtain the current session time and log in again or refresh the token when it is about to expire #983

Open
JonSmall opened this issue Jun 2, 2023 · 0 comments
Labels

Comments

@JonSmall
Copy link

JonSmall commented Jun 2, 2023

After successful login, how to obtain the current session time and log in again or refresh the token when it is about to expire

GitLabApi.oauth2Login("URL", username, password);
// do business
....
// 2 hours later
how to refresh token

@jmini jmini added the question label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants