Skip to content

[iOS] Support for ISI JWT #7

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

Merged
merged 4 commits into from
Aug 13, 2025
Merged

[iOS] Support for ISI JWT #7

merged 4 commits into from
Aug 13, 2025

Conversation

arturogutierrez
Copy link
Collaborator

@arturogutierrez arturogutierrez commented Aug 6, 2025

MON-1577

Adding support for the new ISI JWT. At this moment, we should only store it and resend it in further calls.

How is it implemented?

I tried to follow the RC SDK codebase. Basically:

  • I added a new JWTManager responsible for storing/retrieving the token from the cache
  • HTTPClient forwards the URLResponse to the JWTManager to store the cookie if present
  • HTTPClient adds the cookie to all requests if present
  • Created a new public API for the RC SDK to get the current token or refresh it if it's expired

@arturogutierrez arturogutierrez changed the title [iOS] [iOS] Support for ISI JWT Aug 6, 2025
Copy link

@nesterenkodm nesterenkodm left a comment

Choose a reason for hiding this comment

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

lgtm

@arturogutierrez arturogutierrez merged commit 794ec1f into main Aug 13, 2025
@arturogutierrez arturogutierrez deleted the arturo/isi-jwt branch August 13, 2025 09:51
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.

2 participants