OAuth Applications
OAuth Applications allow you to integrate third-party applications with Texture's authentication system. You can manage OAuth Applications from the Developer tab in your Texture dashboard.
What OAuth Applications Are
An OAuth Application on Texture enables platform-level user authentication — it allows users who have accounts on Texture to sign in to your application using their Texture credentials. This is the same mechanism Texture uses internally (e.g., for signing into the Texture dashboard).
OAuth Applications are designed for authenticating Texture platform users — the employees and team members who have been invited to your organization on Texture. They are not currently intended for authenticating end customers or homeowners.
What OAuth Applications Are Not
OAuth Applications are not the mechanism for:
- Connecting end-customer devices (smart thermostats, batteries, EV chargers, etc.)
- Sending commands to devices on behalf of your customers
- Authenticating homeowners or end users of your product
Homeowners interact with Texture through device-level OAuth access to connect and manage their devices, but they do not have user accounts on the Texture platform itself. For device connectivity and command workflows, use the Texture API with API keys.
When to Use OAuth Applications
| Use Case | Recommended Approach |
|---|---|
| Your employees signing into a custom app with Texture credentials | OAuth Application |
| Connecting customer devices to your platform via Texture | API Keys |
| Sending device commands on behalf of customers | API Keys |
| Building internal tools that access Texture data | OAuth Application or API Keys |
Creating an OAuth Application
- Navigate to the Developer tab in your Texture dashboard.
- Click Create OAuth Application.
- Provide the following:
- Application Name — A human-readable name for your application.
- Redirect URIs — The callback URL(s) where users will be redirected after authentication.
- After creation, you will receive a Client ID and Client Secret. Store the client secret securely — it will only be displayed once.
OAuth Flow
Texture supports the standard Authorization Code flow:
- Redirect the user to Texture's authorization endpoint with your
client_idandredirect_uri. - The user authenticates with their Texture credentials and grants access.
- Texture redirects back to your
redirect_uriwith an authorization code. - Exchange the authorization code for an access token using your
client_idandclient_secret. - Use the access token to make authenticated API requests on behalf of the user.
Future Plans
We are actively working on expanding OAuth support to include homeowner-level authentication. This will allow end customers to authenticate directly and manage their connected devices. If this is a capability you're interested in, please reach out to your Texture account representative.
Need Help?
If you're unsure which authentication approach is right for your integration, contact us at support@texturehq.com or reach out in your shared Slack channel.