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

https://github.com/curityio/account-chooser

An authentication action plugin that allows the user to log in with one of the previously logged in accounts.
https://github.com/curityio/account-chooser

account-chooser authentication-action plugin

Last synced: 2 months ago
JSON representation

An authentication action plugin that allows the user to log in with one of the previously logged in accounts.

Awesome Lists containing this project

README

        

# AccountChooser Authentication Action Plugin

[![quality](https://img.shields.io/badge/quality-example-red)](https://curity.io/resources/code-examples/status/)
[![availabitly](https://img.shields.io/badge/availability-source-blue)](https://curity.io/resources/code-examples/status/)

An authentication action plugin for the Curity Identity Server that allows the user to log in with one of the previously logged in accounts.

## Building the Plugin

You can build the plugin by issuing the command ``mvn package``. This will produce a JAR file in the ``target`` directory,
which can be installed.

## Installing the Plugin

To install the plugin, copy the compiled JAR into the :file:`${IDSVR_HOME}/usr/share/plugins/acountchooser`
on each node, including the admin node. For more information about installing plugins, refer to the [plugins docs](https://curity.io/docs/idsvr/latest/developer-guide/plugins/index.html#plugin-installation).

## Configuring the Plugin

To start using the plugin, first create an authenticator that will serve as a gateway to the action. It's recommended to use the [anonymous authenticator](https://github.com/curityio/anonymous-authenticator) for this purpose. Then, create the choose account action and assign it to both the login and SSO flows of the anonymous authenticator.

![Action in authenticator](docs/authenticator.jpg)

The plugin needs a list of authenticator ACRs. This will be the authenticators that can be used to choose an already authenticated account. This list is presented at the end of the account chooser, so that the user can log in with another account using one of the listed authenticators. This list is also used when the user does not have any active SSO session yet.

![Edit the action](docs/edit-action.jpg)

## More Information

Have a look at the [account-chooser tutorial](https://curity.io/resources/learn/choose-account/) to learn more about the plugin itself.

Please visit [curity.io](https://curity.io/) for more information about the Curity Identity Server.