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

Add a disconnect method #515

Merged
merged 8 commits into from Dec 1, 2023
Merged

Add a disconnect method #515

merged 8 commits into from Dec 1, 2023

Conversation

npm1
Copy link
Collaborator

@npm1 npm1 commented Nov 16, 2023

Fixes #496. Adds a disconnect_endpoint and a disconnect method to allow the RP to request the IDP to disconnect a previously connected federated account. I opted for disconnect_endpoint instead of disconnection_endpoint because it sounded a bit better to me, but open to change it. The credentialed request is sent with IDP cookies but using CORS as the request mode. If no account is found or there is some other error, the user agent removes all connections associated with the RP, IDP.


Preview | Diff

Copy link
Contributor

@TallTed TallTed left a comment

Choose a reason for hiding this comment

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

Small stuff for clarity

spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
@npm1
Copy link
Collaborator Author

npm1 commented Nov 20, 2023

Ping

spec/index.bs Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
@yi-gu
Copy link
Collaborator

yi-gu commented Nov 20, 2023

lgtm

spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Show resolved Hide resolved
spec/index.bs Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
@samuelgoto
Copy link
Collaborator

LGTM

@bvandersloot-mozilla WDYT?

spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
spec/index.bs Outdated Show resolved Hide resolved
@bvandersloot-mozilla
Copy link
Collaborator

I think I follow and LGTM.

@samuelgoto
Copy link
Collaborator

I think I follow and LGTM.

Thanks @bvandersloot-mozilla ! @npm1 i'll wait for you to resolve the last remaining bits of feedback from @TallTed and then squash and merge.

Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
@npm1 npm1 merged commit baf2b3d into main Dec 1, 2023
2 checks passed
@npm1 npm1 deleted the revoke branch December 1, 2023 19:21
github-actions bot added a commit that referenced this pull request Dec 1, 2023
SHA: baf2b3d
Reason: push, by npm1

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
github-actions bot added a commit to mattdanielbrown/WebID that referenced this pull request Dec 2, 2023
SHA: baf2b3d
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: allow disconnecting accounts
6 participants