An open API service indexing awesome lists of open source software.

https://github.com/plusauth/plusauth-ios-storyboard-starter

iOS Storyboard starter project demonstrating OIDC authentication using AppAuth for iOS Plugin.
https://github.com/plusauth/plusauth-ios-storyboard-starter

Last synced: 4 months ago
JSON representation

iOS Storyboard starter project demonstrating OIDC authentication using AppAuth for iOS Plugin.

Awesome Lists containing this project

README

          



Logo

PlusAuth iOS Storyboard Starter Project


Simple iOS Storyboard XCode project demonstrates basic authentication flows with PlusAuth




Explore the PlusAuth iOS Storyboard docs »

Table of Contents

  • About The Project

  • Prerequisites

  • Getting Started

  • License

  • What is PlusAuth

  • ---

    ## About The Project

    It is a very simple iOS Storyboard XCode project demonstrating basic authentication flows such as register, login, and logout. To keep things simple, we used [AppAuth for iOS](https://openid.github.io/AppAuth-iOS/) for authentication.

    ## Prerequisites

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

    1. Create a PlusAuth account and a tenant at [PlusAuth Dashboard](https://dashboard.plusauth.com)
    2. Navigate to [Clients](https://dashboard.plusauth.com/~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.iosexample.plusauth-ios-starter:/oauth2redirect/ios-provider`
    - Post Logout Redirect Uris: `com.plusauth.iosexample.plusauth-ios-starter:/oauth2redirect/ios-provider`

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

    ## Getting Started

    First, we need to supply the required configuration values for the application. Rename `PlusAuth.example.plist` file, under the `plusauth-ios-starter` folder, as `PlusAuth.plist`.

    Then modify the values inside `PlusAuth.plist` file using your Client ID and your PlusAuth tenant name.

    **NOTE:** This poject uses Swift Package Manager as dependency manager.

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

    ## License

    This project is licensed under the MIT license. See the [LICENSE](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 »