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

clear authorization metadata #536

Merged
merged 1 commit into from
Apr 5, 2023
Merged

clear authorization metadata #536

merged 1 commit into from
Apr 5, 2023

Conversation

bourgeoa
Copy link
Contributor

No description provided.

@bourgeoa
Copy link
Contributor Author

linkeddata/rdflib.js#512

@@ -506,6 +506,8 @@ export function renderSignInPopup (dom: HTMLDocument) {

const loginToIssuer = async (issuerUri: string) => {
try {
// clear authorization metadata from store
solidLogicSingleton.store.updater.flagAuthorizationMetadata() as any
Copy link
Contributor

Choose a reason for hiding this comment

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

the metadata should be flagged as well on log out

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is done lines 711-712

Copy link
Contributor Author

Choose a reason for hiding this comment

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

solidLogicSingleton.store.updater.flagAuthorizationMetadata() as any

Copy link
Contributor

Choose a reason for hiding this comment

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

ah sorry, I thought it is login as well because github stripped away the context. all good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

Cached WAC-allow headers and 403 and 401 responses must be ignored after login
2 participants