GithubHelp home page GithubHelp logo

tieniber / twofactorloginform Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 1.69 MB

A Mendix module and widget that offer two-factor authentication using a configurable token sharing process

License: Apache License 2.0

JavaScript 3.49% HTML 1.74% CSS 0.03% Java 94.74%
mendix-widget mendix-module

twofactorloginform's Introduction

#LoginForm A custom login form which can be used as an alternative to the default Mendix login page.

Contributing

For more information on contributing to this repository visit Contributing to a GitHub repository!

Features

  • Use this widget to enable local users to login from any page in your Mendix application
  • A link to open a 'Forgot my password' page

Limitations

  • Input credentials are authenticated with user credentials available in System.User entity(local accounts). Logging in with Mendix SSO account credentials, using this widget, will not result in being logged in.
  • In a Sandbox environment an application owner is not able to configure the MxAdmin account(=local). To log in with a MxAdmin account is not possible in a Sandbox.

Configuration

  • Insert the widget in a page
  • Configure the properties

Properties

Display

  • Username placeholder - Standard text to be displayed in username field
  • Password placeholder - Standard text to be displayed in password field
  • Username Label - Username label caption
  • Password Label - Password label caption
  • Login button caption - Text to be displayed on login button
  • Empty username/password message - Feedback message shown when a user didn't provide all credentials
  • Forgot password link text - Text to use in the Forgot password link

Behaviour

  • Show progress bar - Display a progress bar while signing in
  • Forgot password microflow - Microflow being triggered in case of 'forgot password' onclick
  • Focus username input field - Move focus to username field when the form is showed (only use this if it is not done automatically)
  • Login Failure Text - Warning message to show when login fails twice

Mobile

  • Auto capitalize - Enables/disables auto capitalize functionality on username input field for mobile devices
  • Auto correct - Enables/disables auto correct functionality on username input field for mobile devices
  • Username Keyboard Type - The keyboard type to display when the user is entering their username

Password

  • Show/mask password toggle - Adds a toggle button to show/mask password.*
  • Show password button caption - The caption that is used for the show button for the value of the password
  • Mask password button caption - The caption that is used for the hide button for the value of the password
  • Show password button image - Optional image to be displayed in 'Show password' button
  • Mask password button image - Optional image to be displayed in 'Mask password' button

Casehandling

  • Convert to lower/uppercase - this option will convert user name input to upper/lower case. Using this functionality only makes practical sense when all usernames defined in your application are either upper or lower cased. NOTE: MxAdmin administrative user will be accessible in both cases as well.

Known issues

  • Mendix runtime returns no feedback about the existence of a username. This is by design.

twofactorloginform's People

Contributors

tieniber avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

bharathandalam

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.