Add native or mobile application
A native or mobile application runs directly on a user's device — iOS and Android apps are common examples. A mobile shopping app or a desktop productivity tool are typical use cases.
Because the app binary can be inspected, native apps cannot safely store a client secret. SecureAuth registers them without one and uses Proof Key for Code Exchange (PKCE) to keep the sign-in flow secure.
Before you begin
You'll need:
- Access to your workspace in SecureAuth
- The redirect URI for your application (often a custom URL scheme like
myapp://callback) - Access to your mobile or desktop application code
Add the application
-
In your workspace, select Applications > Clients > Create client.
-
Enter a name for your application, select Mobile/Desktop, and click Create.

-
In the right panel, click + Setup a redirect URI and enter your application's callback URL.
The redirect URI is where SecureAuth sends users after they sign in. For mobile apps, this is typically a custom URL scheme (for example,
myapp://callback) rather than anhttpsURL. -
Copy the Client ID from the right panel. You'll need it when configuring your application code.

Integrate with your application
After creating the client in SecureAuth, use the Quickstart tab to get framework-specific integration code pre-filled with your application's configuration.
Open the Quickstart tab guide for step-by-step instructions, React Native code snippets, and a link to clone a full working example.
Test the integration
- Launch your application on a device or emulator.
- Trigger the login flow.
- Verify that users are redirected to SecureAuth for authentication.
- After signing in, confirm users are redirected back to your application.
Next steps
- Restrict access with user policies to control who can use the application
- Set up single sign-on (SSO) by connecting external identity providers
- Skip the consent screen for your own applications
- Enable passwordless authentication for a better user experience