Mobile Application sign-in
Here are our recommendations for applications to implement sign in with Trimble Identity v4 on mobile devices.
There are two ways to implement Trimble Identity v4 for mobile applications.
For a more streamlined customer experience and easier transitions between native and web content, developers should use Custom Tabs and ASWeb for authentication.
Samples for Identity v4
Custom URI Scheme
All applications should register a custom URI scheme. Here is what the registration flow looks like:
- User launches application
- Application launches browser
- User signs in to the application
- Browser redirects to custom URI scheme
- Application is relaunched/notified of custom URI scheme launch
- The application will use code parameters to get access, ID, and refresh tokens from the /token endpoint