8000 Update delete authenticator to remove OTP Validation by PineappleIOnic · Pull Request #8367 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update delete authenticator to remove OTP Validation #8367

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

Merged
merged 7 commits into from
Jul 10, 2024

Conversation

PineappleIOnic
Copy link
Contributor
@PineappleIOnic PineappleIOnic commented Jul 8, 2024

What does this PR do?

This PR modifies the delete authenticator endpoint to no longer need a challenge verification and to instead make it a mfaProtected route so only recently authorised sessions can delete an authenticator.

This PR also generates the documentation for 1.6.x and adds the spec files.

Related PRs and Issues

Checklist

  • Have you read the Contributing Guidelines on issues?
  • If the PR includes a change to an API's metadata (desc, label, params, etc.), does it also include updated API specs and example docs?

@PineappleIOnic PineappleIOnic marked this pull request as ready for review July 8, 2024 01:51
@@ -3958,12 +3958,11 @@ function sendSessionAlert(Locale $locale, Document $user, Document $project, Doc
->label('sdk.response.code', Response::STATUS_CODE_NOCONTENT)
->label('sdk.response.model', Response::MODEL_NONE)
->param('type', null, new WhiteList([Type::TOTP]), 'Type of authenticator.')
->param('otp', '', new Text(256), 'Valid verification token.')
Copy link
Member

Choose a reason for hiding this comment

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

We'll need a request filter for this removal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Noted 👍

@abnegate abnegate merged commit eb10c49 into 1.6.x Jul 10, 2024
23 checks passed
@abnegate abnegate deleted the feat-update-delete-authenticator branch July 10, 2024 08:24
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.

4 participants
0