Skip to content

Platform API | Add endpoints for captchas#161

Merged
phylor merged 1 commit into
mainfrom
feature/1633-phone-verification-captcha
Jan 11, 2023
Merged

Platform API | Add endpoints for captchas#161
phylor merged 1 commit into
mainfrom
feature/1633-phone-verification-captcha

Conversation

@phylor

@phylor phylor commented Dec 20, 2022

Copy link
Copy Markdown
Collaborator

This adds required endpoints to implement captchas on the platform API, namely:

  • Post a captcha solution /api/platform/captchas/{id}/solution
  • Regenerate the captchas task /api/platform/captchas/{id}/regenerate

It also adds the captcha model and adds it to the response of the endpoint "Create a new Phone Verification Request" /api/platform/providers/{provider_id}/phone_verification_requests

@phylor
phylor marked this pull request as draft December 20, 2022 07:42
@phylor
phylor force-pushed the feature/1633-phone-verification-captcha branch from 80f811d to d457537 Compare December 20, 2022 07:43
@phylor
phylor marked this pull request as ready for review December 20, 2022 07:45
@phylor
phylor requested a review from tom-ioki December 20, 2022 07:45
@rmehner

rmehner commented Jan 2, 2023

Copy link
Copy Markdown
Collaborator

@phylor is this ready for review?

@phylor

phylor commented Jan 3, 2023

Copy link
Copy Markdown
Collaborator Author

@phylor is this ready for review?

Yes!

Comment thread lib/ioki/model/platform/captcha.rb
@phylor
phylor merged commit 9abd4fa into main Jan 11, 2023
@phylor
phylor deleted the feature/1633-phone-verification-captcha branch January 11, 2023 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants