GithubHelp home page GithubHelp logo

plusauth / plusauth-vue-starter Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 900 KB

Vue.js starter project demonstrating OIDC authentication using vue-cli and oidc-client.

JavaScript 35.45% HTML 7.99% Vue 55.03% Shell 1.54%
vue oidc openidconnect plusauth

plusauth-vue-starter's Introduction

PlusAuth Vue Starter Project

Simple Vue.js project demonstrates basic authentication flows with PlusAuth

Explore the PlusAuth Vue docs »

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

  • About The Project

    It is a simple Vue.js project demonstrating basic authentication flows such as register, login, and logout. To keep things simple, we bootstrapped the project with create-vue and used @plusauth/plusauth-oidc-client-js for authentication.

    Prerequisites

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

    1. Create a PlusAuth account and a tenant at https://dashboard.plusauth.com
    2. Navigate to Clients tab and create a client of type Single Page Application
    3. Go to the details page of the client that you've just created and set the following fields as:

    Please note your Client Id that will be required in the application's configuration.

    Getting Started

    First, we need to supply the required configuration values for the application. Rename .env.example file as .env.

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

    Finally, start the application with:

    npm start
    # or with yarn
    yarn start

    The application is hosted at http://localhost:8080/

    If you are serving your application in a different port from the default one that is 8080, make sure you have updated your client's configuration mentioned in the Prerequisites section and auth.js accordingly.

    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 »

    Recommend Projects

    • React photo React

      A declarative, efficient, and flexible JavaScript library for building user interfaces.

    • Vue.js photo Vue.js

      🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

    • Typescript photo Typescript

      TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

    • TensorFlow photo TensorFlow

      An Open Source Machine Learning Framework for Everyone

    • Django photo Django

      The Web framework for perfectionists with deadlines.

    • D3 photo D3

      Bring data to life with SVG, Canvas and HTML. 📊📈🎉

    Recommend Topics

    • javascript

      JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

    • web

      Some thing interesting about web. New door for the world.

    • server

      A server is a program made to process requests and deliver data to clients.

    • Machine learning

      Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

    • Game

      Some thing interesting about game, make everyone happy.

    Recommend Org

    • Facebook photo Facebook

      We are working to build community through open source technology. NB: members must have two-factor auth.

    • Microsoft photo Microsoft

      Open source projects and samples from Microsoft.

    • Google photo Google

      Google ❤️ Open Source for everyone.

    • D3 photo D3

      Data-Driven Documents codes.