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.
- Host: GitHub
- URL: https://github.com/curityio/account-chooser
- Owner: curityio
- License: apache-2.0
- Created: 2023-03-21T15:04:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-06-16T06:08:22.000Z (almost 2 years ago)
- Last Synced: 2025-01-30T13:32:04.104Z (4 months ago)
- Topics: account-chooser, authentication-action, plugin
- Language: Kotlin
- Homepage: https://curity.io/resources/learn/choose-account/
- Size: 124 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# AccountChooser Authentication Action Plugin
[](https://curity.io/resources/code-examples/status/)
[](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.

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.

## 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.