Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • E esap-general
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 71
    • Issues 71
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • ASTRON SDC
  • ESCAPE WP5
  • esap-general
  • Issues
  • #14
Closed
Open
Issue created Jul 09, 2021 by Nico Vermaas@vermaasOwner1 of 2 checklist items completed1/2 checklist items

Handle expired token and CORS errors (2 separate issues)

These are 2 separate issues, but both related to token communication

  • When the IAM id_token becomes invalid after 1 hour then ESAP-GUI gets in a unpredictable state where the user can not save the shopping basket anymore (https://support.astron.nl/jira/browse/SDC-271)

  • When the oidc refresh token tries to check if the id_token is still valid (default every 15 minutes) then it reports a CORS error (since moving the backend away from port 5555 to 80/443). Currently the 'OIDC_RENEW_ID_TOKEN_EXPIRY_SECONDS' value in the backend has been set to 3600 to avoid the error before the token becomes invalid anyway. (https://support.astron.nl/jira/browse/SDC-272)

Edited Aug 27, 2021 by Nico Vermaas
Assignee
Assign to
Time tracking