Giter Site home page Giter Site logo

gregorydandrea-okta / okta-signin-widget Goto Github PK

View Code? Open in Web Editor NEW

This project forked from okta/okta-signin-widget

0.0 1.0 0.0 2.48 MB

Okta SignIn widget that renders the new login/auth/recovery flows

License: Other

Ruby 0.05% JavaScript 91.35% CSS 8.43% Smarty 0.04% Shell 0.13%

okta-signin-widget's Introduction

Okta Sign-In Widget

The Okta Sign-In Widget is a JavaScript widget from Okta that gives you a fully featured and customizable login experience which can be used to authenticate users on any web site.

If you want to use the widget, see the instructions on the Okta Sign-In Widget developer page.

If you want to modify the widget, use the following instructions.

Building the widget

  1. Clone this repo and navigate to the new okta-signin-widget folder.
[path]$ git clone [email protected]:okta/okta-signin-widget.git && cd okta-signin-widget
  1. Install Bundler if you don't already have it.
[path/okta-signin-widget]$ gem install bundler
  1. Install our Ruby dependencies.
[path/okta-signin-widget]$ bundle install
  1. Install our Node dependencies.
[path/okta-signin-widget]$ npm install
  1. Create a .widgetrc file in the okta-signin-widget/ directory. Add a base URL entry in .widgetrc.
  {
    "widgetOptions": {
      "baseUrl": "https://your-org.okta.com"
    }
  }
  1. Build the widget, start a local connect server that hosts it, and launch a browser window with the widget running.
[path/okta-signin-widget]$ npm start
  1. Finally, enable CORS support for our new server by following these instructions. You can now authenticate to Okta using your very own, customizable widget!

The .widgetrc config file

The .widgetrc file is a configuration file that saves your local widget settings.

Property Description
widgetOptions Options that are passed to the widget on initialization - reference the developer docs to see a complete list of configurable features.
serverPort The port the local server runs on. Defaults to 1804

Build and test commmands

Command Description
npm start Build the widget, start the server, and open a browser window with the widget loaded
npm run build:dev Build an unminified version of the widget
npm run build:prod Build a minified, uglified version of the widget
npm test Run unit tests
npm run lint Run jshint and scss linting tests

okta-signin-widget's People

Contributors

ujjwalreddy-okta avatar rchild-okta avatar stsai-okta avatar jmaldonado-okta avatar gregorydandrea-okta avatar mystiberry-okta avatar lboyette-okta avatar mauriciocastillosilva-okta avatar yiyangli-okta avatar oktauploader-okta avatar

Watchers

 avatar

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.