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

Adding support for refresh Token api #3589

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vklohiya
Copy link
Contributor

@vklohiya vklohiya commented Oct 8, 2024

Description: Adding support for refresh Token api

Changes Proposed in PR: Added support for token refresh api. CM access token have a expiry of 5 mins. CIS does not continuously fetches the access token once it's expired, instead it fetches the access token when it wants to post something to CM and access-token is expired. It will use the session until the refresh token is expired.

CM refresh token have a expiry of 10H and CM terminates the session after 10 hours. CIS will establish a new session every 10 hours. CIS

General Checklist

  • Updated Added functionality/ bug fix in release notes
  • Added examples for new feature
  • Updated the documentation
  • Smoke testing completed

CRD Checklist

  • Updated required CR schema

@vklohiya
Copy link
Contributor Author

vklohiya commented Oct 8, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s), but failed to run 1 pipeline(s).

@vklohiya
Copy link
Contributor Author

vklohiya commented Oct 8, 2024

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s), but failed to run 1 pipeline(s).

@vklohiya vklohiya requested review from charanm08, arzzon and vidyasagar-m and removed request for charanm08 October 9, 2024 04:23
Copy link
Contributor

@charanm08 charanm08 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@vidyasagar-m vidyasagar-m left a comment

Choose a reason for hiding this comment

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

LGTM

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.

3 participants