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

Make phoneNumber optional #88

Open
Tracked by #87
bigludo7 opened this issue Dec 20, 2024 · 0 comments
Open
Tracked by #87

Make phoneNumber optional #88

bigludo7 opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels

Comments

@bigludo7
Copy link
Collaborator

Problem description
In order to comply with ICM rule this API could be accessed via 3-legs flow.
As such, in this case the accessToken could be used to identify the device.
Consequently we should shift the phoneNumber in the request to optional & add the defined 422 errors:

  • PHONE_NUMBER_NOT_ALLOWED
  • MISSING_IDENTIFIER

Expected behavior
Remove phoneNumber from required field

Alternative solution

Additional context
This is is not a breaking change.

@bigludo7 bigludo7 self-assigned this Dec 20, 2024
This was referenced Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant