Giter VIP home page Giter VIP logo

portal-login-react's Introduction

Login page for ServiceNow applications and portals

Custom login page built with React.

It provides out-of-the-box ServiceNow login functionality, including remember me option.

img

Login page implemented as a simple React application and can be used as a gateway for any ServiceNow application and portal.

How to test/run locally

  1. Copy/clone the repo
  2. Install all dependencies by npm i
  3. Run the app by npm start

IMPORTANT: You won't be able to test login process locally, since the app should be run inside of ServiceNow instance. However, you can customize HTML/CSS markup etc.

How to deploy to ServiceNow

  1. Build the application by npm run build.
  2. Save JS and CSS files from Build/static folder as Style Sheets in ServiceNow.
  3. Upload logo image from Build/static/media folder to ServiceNow: go to System UI/Images and create a new image with a name static/media/login.633c58d6.png:

img

  1. Create a direct UI page and copy HTML code from the file 'Build/index.html`. You also need to do the following steps:
    • update window.mainAppPage with the URL where you want to redirect in case of successfull login
    • update window.loggedUsername with this specific code $[userName]
    • update css and js references with the corresponding sys_ids from step #2

You UI page should look like this:

img

  1. Make UI page public:
    • activate Public Pages module under System Definition menu
    • create a new record for you UI page

img

  1. You login page should be publicly available by the URL provided on the UI page record.

Contacts

Questions, requests for customization or development services - [email protected]

portal-login-react's People

Contributors

andrew-psch 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.