-
Notifications
You must be signed in to change notification settings - Fork 24
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
[SDP-1247] Prepare code for API-only usage by reorganizing the reCaptcha and MFA sections in the handlers they're being used #499
Conversation
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
stellar-disbursement-platform-backend-preview is available here: |
Something went wrong with PR preview build please check |
341a140
to
82ff984
Compare
stellar-disbursement-platform-backend-preview is available here: |
…without the recaptcha enabled.
…e recaptcha enabled.
82ff984
to
6e0c6bc
Compare
stellar-disbursement-platform-backend-preview is available here: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Great refactor
What
Prepare code for API-only usage by reorganizing the reCaptcha and MFA sections in the handlers they're being used.
Why
Since the MFA and reCAPTCHA enforcers were being used in different places for different handlers, it wasn't easy to modularize their usage. By streamlining their usage, the code becomes easier to adapt and make it optional.
Further work
Add a way to bypass them through IP filering.
Checklist
PR Structure
Thoroughness
Configs and Secrets
values.yaml
file.pr-preview
,dev
,demo
,prd
).values.yaml
file.pr-preview secrets
,dev secrets
,demo secrets
,prd secrets
).Release
develop
ormain
after it's ready for production!Deployment