What You Will Build
In this guide, you will configure Mekarge A3 to authenticate users and authorize a native application through an Attestation Server using OAuth 2.0 and OpenID Connect.
In this architecture, the Android app does not directly perform the OAuth token exchange. Because Mekarge A3 is designed around Confidential Clients only, an Attestation Server acts as an intermediary backend that validates device integrity signals and securely manages OAuth tokens on behalf of the native application.
At the end of this tutorial:
- Users will be able to log in through a custom login page on an Android phone emulator
- The Attestation Server will obtain ID Tokens and Access Tokens
- A secure session will be established between Attestation Server and Android App
Quick Concepts
| Client | Represents the Attestation Server |
| Resource | Represents a protected API |
| Scope | Represents a specific type of access on a Resource |
| Role | Determines which Client Permissions are available to Users |
| User Group | Groups Users and assigns Roles |
| Data Source | Stores User credentials and details |
| Appraisal | Represents a vector of claims of User's device |
| Attestation Profile | Groups Appraisals and determines which Client Permissions are available to Users |
Read more about Architecture and Concepts in Mekarge A3 documentation.