SCAL-306867: Implement Access Token parsing from url param in Embed SDK#506
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
There was a problem hiding this comment.
Code Review
This pull request introduces a mechanism to cache and reuse authentication tokens for SAML popup flows, reducing redundant login checks. It also updates the tokenizedFetch utility to include these cached tokens in the Authorization header for non-cookieless authentication types. However, a regression was identified in tokenizedFetch where the credentials: 'include' setting is omitted when a cached token is used, which will prevent session cookies from being sent. Additionally, it is recommended to centralize the hardcoded 'cachedAuthToken' key to improve maintainability.
commit: |
be34f09 to
d032b1e
Compare
d032b1e to
d23f815
Compare
|
SonarQube Quality Gate
|








No description provided.