Skip to content

Android starter project demonstrating OIDC authentication using PlusAuth OpenID Connect Library for Android.

License

Notifications You must be signed in to change notification settings

PlusAuth/plusauth-android-starter

Repository files navigation

PlusAuth Android Starter Project

Simple Android project demonstrates basic authentication flows with PlusAuth

Explore the PlusAuth Android docs »

Table of Contents
  • About The Project
  • Prerequisites
  • Getting Started
  • License
  • What is PlusAuth

  • About The Project

    It is a very simple Android project demonstrating basic authentication flows such as register, login, and logout. To keep things simple, we used PlusAuth OpenId Connect Library For Android for authentication.

    Prerequisites

    Before running the project, you must first follow these steps:

    1. Create a PlusAuth account and a tenant at PlusAuth Dashboard
    2. Navigate to Clients tab and create a client of type Native Application
    3. Go to the details page of the client that you've just created and set the following fields as:
    • Redirect Uris: com.plusauth.androidexample:/callback
    • Post Logout Redirect Uris: com.plusauth.androidexample:/callback

    Finally, note your Client Id and domain(e.g., https://example.plusauth.com) for app configuration on the next step.

    Getting Started

    Edit the PlusAuthInstance.java class using your Client Id and PlusAuth domain.

    That's all! Hit the 'Run' button in Android Studio to start the app.

    License

    This project is licensed under the MIT license. See the LICENSE file for more info.

    What is PlusAuth

    PlusAuth helps individuals, teams, and organizations to implement authorization and authentication systems in a secure, flexible and easy way.

    Explore the PlusAuth Website »

    Explore the PlusAuth Docs »

    Explore the PlusAuth Forum »

    About

    Android starter project demonstrating OIDC authentication using PlusAuth OpenID Connect Library for Android.

    Resources

    License

    Stars

    Watchers

    Forks

    Releases

    No releases published

    Packages

    No packages published

    Languages