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

OAuth migration | Refactor GU_SO handling based on new flow #1288

Merged
merged 2 commits into from
Jan 11, 2024

Commits on Jan 9, 2024

  1. refactor: return undefined from local token verifier

    Raphael Kabo committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    0c4492c View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. refactor: improve GU_SO handling based on new flow

    In the new flow, we first check if the access and ID tokens are set. If so, we check if the GU_SO cookie was set after the access token's iat claim, which means that the user signed out after they generated these tokens. In this case, we follow the signout behaviour. Otherwise, we handle the subsequent cases (IDAPI cookies are/aren't set). If the GU_SO cookie was set before the iat claim, we can safely ignore it, and continue the flow as above.
    Raphael Kabo committed Jan 10, 2024
    Configuration menu
    Copy the full SHA
    5d25f4d View commit details
    Browse the repository at this point in the history