Simple OAuth Account Picker
3 sites
Security covered
This module enhances the OAuth authorization process by providing an account picker. It allows users to easily select their currently logged-in account, a previously used account, or log in with a different one, mimicking the experience of services like Google. The picker can be themed to match your site and offers customization options for account display.
Adds an account picker, similar to how Google does it, when authorizing a client application via the Authorization Code Grant.
This presents the user with the following options:
- Log in using the currently logged-in account (instant)
- Log in using another account the user has previously used to log in (prefills username on login form)
- Log in using a completely different account (takes user to empty login form)
Features
- Default style integrates with default Olivero theme.
- Automatically generates an avatar using the first letter of the account element title, if no image src is set via the alter hook.
- Automatically adds accounts the user previously logged in to drupal with to the account picker (via cookie)
- Ability to completely alter the account element (title, subtitle, avatar and the right text) via a hook.
- Works with the consumer options Automatic authorization and Remember previous approval
You can find more detailed info about installing, using and configuring here.