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

Bearer tokens #74

Merged
merged 32 commits into from
Mar 17, 2024
Merged

Bearer tokens #74

merged 32 commits into from
Mar 17, 2024

Conversation

ryanrdoherty
Copy link
Member

@ryanrdoherty ryanrdoherty commented Nov 6, 2023

Current:

  • Session = jsessionid
  • Logged in = wdk_check_auth cookie + User on backend session
  • Guest = no cookie + User on backend session

Goal:

  • Session = none
  • Logged in = Authorization header/cookie for non-guest
  • Guest = Authorization header/cookie for guest

@ryanrdoherty ryanrdoherty self-assigned this Nov 6, 2023
}

public void invalidate() {
clear();
Copy link
Member Author

Choose a reason for hiding this comment

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

Thinking now this is probably not a good idea because it could break other requests. What we want is for the map to be removed from the store but maybe not clear the map. Eventually the whole thing will be garbage collected.

@ryanrdoherty ryanrdoherty marked this pull request as ready for review March 17, 2024 11:41
@ryanrdoherty ryanrdoherty merged commit 7f04a63 into master Mar 17, 2024
1 check passed
@ryanrdoherty ryanrdoherty deleted the bearer-tokens branch March 17, 2024 17:20
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.

1 participant