Skip to content

Conversation

@adrienne-deriv
Copy link
Contributor

@adrienne-deriv adrienne-deriv commented Feb 7, 2025

Description

Motivation

After OIDC has successfully logged the user's session out of Hydra, we need to revoke the legacy tokens

Actions

List the actions taken to achieve this change. What steps were followed? What was modified?

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

@adrienne-deriv adrienne-deriv changed the title Endpoint to revoke legacy tokens Endpoint to revoke legacy tokens, update documentation Feb 7, 2025
* - The tokens array is empty or invalid format (400 Bad Request - InvalidPayload)
* - The tokens are invalid, already revoked, or belong to different users/app_ids (400 Bad Request - InvalidToken)
* - The number of tokens exceeds the maximum limit of 20 (400 Bad Request - InvalidTokenCount)
* - Rate limit is exceeded - more than 5 requests per minute (429 Too Many Requests - RateLimit)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got these error codes from the backend clickup card


const oauthUrl = getOauthUrl();

expect(oauthUrl).toBe('https://qa.deriv.com/oauth2/authorize?app_id=67890&l=EN&&brand=deriv');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

confusion of the highest oda

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