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

[DVP-207] feat: add fresh=true to request fresh membership #118

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

panvourtsis
Copy link
Collaborator

Description

As a user when I get invited to an organisation and accept my invitation I should see an up to date memberships response.

Right now the response is cached and it’s invalidation may take 5-10 seconds leading to a broken experience. This leads the facade to return the previous response, if any, without the new organization from the invite.

On invitations, toolbox could send a parameter to sso-facade, say fresh=true on GET /memberships expecting a "fresh" version of the response. SSO-Facade should not fetch results from the cache (Dynamo). It should instead fetch the results directly from Auth0.

https://orfium.atlassian.net/browse/DVP-207

Screenshot

Test Plan

Tested on orfium one locally with invitation from auth0

Copy link

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