{"repo":"gary-archer/oauth.mobilesample.android","free":true,"listed":false,"github":"https://github.com/gary-archer/oauth.mobilesample.android","clone":"git clone https://github.com/gary-archer/oauth.mobilesample.android.git","description":"Final Android Mobile Code Sample, secured with OAuth and OpenID Connect","language":"Kotlin","stars":45,"topics":["android","kotlin","mobile","oauth2"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Android OAuth Mobile Sample Overview A demo mobile app using OAuth and OpenID Connect, which aims for the best usability and reliability. Views The app is a simple UI with some basic navigation between views, to render fictional investment resources.\\ Its data is returned from an OAuth-secured API that uses claims-based authorization.\\ The app uses user attributes from both the OpenID Connect userinfo endpoint and its API. Local Development Quick Start Open the app in Android Studio and run the app on an emulator or device.\\ This triggers a code flow to authenticate the user with the AppAuth pattern.\\ Logins run in a Chrome Custom Tab browser and the app cannot access the user's credentials: You can sign in to the app using my AWS Cognito test account: The app receives the login response using a claimed HTTPS scheme redirect URI, in the most secure way.\\ Android App Links enables an HTTPS redirect URI and requires a cloud hosted deep linking assets file.\\ External web pages ensure a user gesture after login and logout, to reliably return responses to the app.\\ After login you can test all lifecycle operations, including token refresh, expiry events and logout. Further Information See the API Journey - Client Side for further information on the app's behaviour. See blog posts for further details specific to the Android app, starting in the Code Sample Overview. Programming Languages The app's code uses Kotlin and its views use Jetpack Compose. Infrastructure AppAuth-Android im","default_branch":null,"files":null,"tree":[],"storefront":"/r/gary-archer","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gary-archer/oauth.mobilesample.android/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}