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

Implement recovery token revocation #286

Merged
merged 1 commit into from
Jul 19, 2022

Conversation

MKodde
Copy link
Member

@MKodde MKodde commented Jul 13, 2022

This was a simple matter of calling the existing revoke endpoint on Middleware. Some new boilerplate was created to facilitate this in RA.

A form was added that is triggered by clicking 'continue' in the modal window. Some filthy JQuery code was copy pasted from the similar SF revocation solution. This code picks up the recovery token id, actor id and identity id (the one possessing the RT). And sets the values on the hidden revocation form.

A command was added that is filled with the form. And it contains the data required to revoke the token. This command is then posted onto the Middleware api (command endpoint) after being translated into a correct MW command in the client bundle.

Translations where updated.

https://www.pivotaltracker.com/story/show/181968091

@MKodde MKodde added the SAT label Jul 13, 2022
@MKodde MKodde requested a review from pablothedude July 13, 2022 07:08
This was a simple matter of calling the existing revoke endpoint on
Middleware. Some new boilerplate was created to facilitate this in RA.

A form was added that is triggered by clicking 'continue' in the modal
window. Some filthy JQuery code was copy pasted from the similar SF
revocation solution. This code picks up the recovery token id, actor id
and identity id (the one possessing the RT). And sets the values on the
hidden revocation form.

A command was added that is filled with the form. And it contains the
data required to revoke the token. This command is then posted onto the
Middleware api (command endpoint) after being translated into a correct
MW command in the client bundle.

Translations where updated.

https://www.pivotaltracker.com/story/show/181968091
@MKodde MKodde force-pushed the feature/sat-revoke-token branch from 7c34636 to ed77cee Compare July 13, 2022 09:06
@MKodde MKodde merged commit 6954082 into feature/sat-recovery-tokens Jul 19, 2022
@MKodde MKodde deleted the feature/sat-revoke-token branch July 19, 2022 11:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants