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

Do not allow consider an account connected if IDP says so #513

Merged
merged 1 commit into from
Nov 15, 2023
Merged

Conversation

npm1
Copy link
Collaborator

@npm1 npm1 commented Nov 15, 2023

In this PR, we fix the case where an account has been observed to be connected in the past by the user agent, but the IdP explicitly says that this account is not connected via approved_clients. This could happen if a user has revoked the federated account, and so the IdP information should be respected. In other words, if approved_clients is present and implies that the account is not connected, the user agent should consider it to be disconnected.


Preview | Diff

@npm1 npm1 requested a review from cbiesinger November 15, 2023 21:03
@samuelgoto samuelgoto merged commit 8253c9f into main Nov 15, 2023
2 checks passed
@samuelgoto samuelgoto deleted the autoFix branch November 15, 2023 21:07
github-actions bot added a commit that referenced this pull request Nov 15, 2023
SHA: 8253c9f
Reason: push, by samuelgoto

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Collaborator

@cbiesinger cbiesinger left a comment

Choose a reason for hiding this comment

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

lgtm modulo the comment below

spec/index.bs Show resolved Hide resolved
@npm1
Copy link
Collaborator Author

npm1 commented Nov 15, 2023

@bvandersloot-mozilla FYI about this editorial but fairly trivial spec bug fix. I'll look to see if we need to add WPT coverage for this or if there is already.

github-actions bot added a commit to mattdanielbrown/WebID that referenced this pull request Nov 16, 2023
SHA: 8253c9f
Reason: push, by pull[bot]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants