I am in the process of PoC a concept of headless commerce native iOS and Android implementation of identity. The user registration flow will be as follows.
- User will sign up in the native mobile app
- User will carry the device and enter a store at which point a geo fence will be triggered, identity flow should be triggered too
What is the best way to achieve it. I am thinking of triggering the API flow when geo fence is violated using this documentation Call Your API Using the Authorization Code Flow