All Projects → approov → AppAuth-OAuth2-Books-Demo

approov / AppAuth-OAuth2-Books-Demo

Licence: Apache-2.0 License
A companion repo for the blog article: https://blog.approov.io/adding-oauth2-to-mobile-android-and-ios-clients-using-the-appauth-sdk

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to AppAuth-OAuth2-Books-Demo

Android-daily-read-tips
log for articles and info in android for every developer
Stars: ✭ 13 (-40.91%)
Mutual labels:  mobile-app, mobile-security
Evabs
An open source Android application that is intentionally vulnerable so as to act as a learning platform for Android application security beginners.
Stars: ✭ 173 (+686.36%)
Mutual labels:  mobile-app, mobile-security
Ionic-ElastiChat-with-Images
Ionic Magic Chat with Angular Elastic, Autolinker.js and more!
Stars: ✭ 66 (+200%)
Mutual labels:  mobile-app
gsm-assessment-toolkit
GSM Assessment Toolkit - A security evaluation framework for GSM networks
Stars: ✭ 60 (+172.73%)
Mutual labels:  mobile-security
crop your image
A flutter plugin which provides Crop Widget for cropping images.
Stars: ✭ 74 (+236.36%)
Mutual labels:  mobile-app
CryptoBuddy
Android app which displays cryptocurrency prices, charts and news!
Stars: ✭ 93 (+322.73%)
Mutual labels:  mobile-app
Glance
Another client for Reddit, but this time, it's not just a client. It's a different way of browsing photos, GIFs, memes and other things there!
Stars: ✭ 104 (+372.73%)
Mutual labels:  mobile-app
tests-ionic2-and-aurelia-framework7
Test TODO applications to compare ionic2 and Aurelia + Framework7
Stars: ✭ 14 (-36.36%)
Mutual labels:  mobile-app
computeiro
Computer science courses, books and exams in your pocket. Built with Flutter and Free! ❤️
Stars: ✭ 27 (+22.73%)
Mutual labels:  mobile-app
CouchDraw
A synchronized drawing app that utilizes Couchbase Sync Gateway and Xamarin to enable shared canvases.
Stars: ✭ 22 (+0%)
Mutual labels:  mobile-app
flutter designs world
We at Appstree has implemented design concepts of different application using mock ups available out there at internet. These are open source projects and any once can use them. Say Hello to us at [email protected], if you want to hire our team is available to provide you top notch solutions.
Stars: ✭ 22 (+0%)
Mutual labels:  mobile-app
mobile-deep-learning-classifier
Tutorial on building and deploying a Mobile Deep Learning Classifier for food
Stars: ✭ 64 (+190.91%)
Mutual labels:  mobile-app
fire-todo
📱 Android App - simple todo-list
Stars: ✭ 16 (-27.27%)
Mutual labels:  mobile-app
powerauth-crypto
PowerAuth - Open-source solution for authentication, secure data storage and transport security in mobile banking.
Stars: ✭ 48 (+118.18%)
Mutual labels:  mobile-security
HolyTips
A Collection of Notes, Checklists, Writeups on Bug Bounty Hunting and Web Application Security.
Stars: ✭ 1,210 (+5400%)
Mutual labels:  api-security
keplr-wallet
The most powerful wallet for the Cosmos ecosystem and the Interchain
Stars: ✭ 321 (+1359.09%)
Mutual labels:  mobile-app
addIt
Simple addition game made with Flutter for Mobile and Web using BLOC pattern
Stars: ✭ 16 (-27.27%)
Mutual labels:  mobile-app
Notre-Dame-v3
The 3rd generation of ÉTSMobile, the main gateway between the École de technologie supérieure and its students on mobile devices
Stars: ✭ 13 (-40.91%)
Mutual labels:  mobile-app
crm-mobilesdk-library-for-ios
Microsoft Dynamics CRM Mobile SDK library for iOS app development.
Stars: ✭ 13 (-40.91%)
Mutual labels:  mobile-app
react-native-tapjoy
This module provides react-native bindings for the Tapjoy SDK.
Stars: ✭ 16 (-27.27%)
Mutual labels:  mobile-app

Adding OAuth2 to Mobile Android and iOS Clients Using the AppAuth SDK

IMPORTANT: This repository relates to Approov 1 and has not been updated to reflect the new features and usage of Approov 2, the latest version of Approov. We will be updating the repository soon. Meanwhile, please refer to the guide for migrating from Approov 1 to Approov 2.

OAuth2, often combined with OpenID-Connect, is a popular authorization framework that enables applications to protect resources from unauthorized access. It delegates user authentication to an authorization service, which then authorizes third-party applications to access the protected resources on the user’s behalf. OAuth 2 provides authorization flows for both web and mobile applications.

AppAuth

AppAuth is an open source SDK for native Android and iOS apps which implements best-practice OAuth2 and OpenID-Connect (OIDC) specifications in a platform friendly manner.

The SDK follows OAuth 2.0 for Native Apps best practices, including the PKCE extension and custom tab browsers. The library provides hooks to further extend the protocol beyond the basic flow.

As an open source project, AppAuth has GitHub repositories for Android and iOS which include good documentation, a demo app, and integration with multiple authorization services.

Getting Started

A sample app, implemented in Android, provides a concrete example using AppAuth to authorize access to private resources. The Books App uses the Google Books API and Google Sign-In services to search for books (protected by API key) and show a signed-in user’s favorite book selections (protected by OAuth2). The app was developed on Android to further explore AppAuth SDK usage with a common application architecture and support libraries.

To follow along, start by cloning the Books demo project on GitHub available at github.com/approov. It requires some configuration, so it will not run out of the box. At a minimum, you will need to provide a keystore, Google API key, and Google OAuth2 credentials.

See the article Adding OAuth2 to Mobile Android and iOS Clients Using the AppAuth SDK for instructions on getting the app running.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].