camaraproject / SimSwap

Repository to describe, develop, document and test the Sim Swap API family
https://lf-camaraproject.atlassian.net/wiki/x/0jXe
Apache License 2.0
24 stars 24 forks source link

How to discriminate boolean and date from server point of view? #10

Closed patrice-conil closed 1 year ago

patrice-conil commented 1 year ago

Hi @DT-DawidWroblewski, Best wishes for 2023, As you use only one scope to call userinfo ... As a server developper, how can I determine the reply type to send back?

Patrice

DT-DawidWroblewski commented 1 year ago

Hi @patrice-conil ! Wishing you all the best in 2023!

As a developer you receive a reply type according to your declaration that happens during onboarding process.

Due to legal concerns, it is required that developer/service provider delivers a statement regarding

according to onboarding declaration API is being set up in a way that satisfies developer/SP.

patrice-conil commented 1 year ago

Hi @DT-DawidWroblewski, So, as a server developer, I have to maintain a link between the subscription portal and the simswap service to check what was subscribed during the onboarding process (Because I need this information to forge the reply). Why not to use two different scopes to discriminate the returned info?

DT-DawidWroblewski commented 1 year ago

Hi @patrice-conil ! this might be an option - let's discuss it on our next call :)