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

What should the API return if more than one device identifier is sent and they don't belong to the same device? #130

Closed
fernandopradocabrillo opened this issue Mar 20, 2024 · 3 comments

Comments

@fernandopradocabrillo
Copy link
Collaborator

What should the API return if, for example, the client sends in the request body a phoneNumber and a networkAccessIdentifier that don't belong to the same device?

With the current implementation I'm thinking about a 400 INVALID_ARGUMENT. Should we have an specific error? DEVICE_IDENTIFIER_MISMATCH or something like that?

what do you think?

@nickvenezia
Copy link

"Timestamp - Device Identifier - Last Seen"
"Timestamp - Device Identifier - First Seen"

This would help a mobile game developer keep the user profile in-sync across devices is added to that user gamer profile.

When mismatch developer can trigger an authorization flow.

@bigludo7
Copy link
Collaborator

bigludo7 commented Apr 2, 2024

@fernandopradocabrillo We discussed this point here: camaraproject/Commonalities#127

Looking for feedback ;)

@fernandopradocabrillo
Copy link
Collaborator Author

closing since it is being discussed in commonalities

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

No branches or pull requests

3 participants