Activating Identity when a user enters a geofence

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.

  1. User will sign up in the native mobile app
  2. 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

Thank you,

I am able to solve this following this document
Using simple keychain to simulate locations and every time the device enters the geolocation fence a new access token is generated without any UX intervention.

1 Like

Woohooo! Thanks for sharing with the rest of community as well.