This project is not covered by Drupal’s security advisory policy.

Provides a custom login block with some basic URL redirection parameters. This module helps set the redirect destination to the current page being viewed.

At login, visitors are redirected to the page they were on before login. Drupal's default behavior is to redirect visitors to their profile page.

This module was created to work with other SSO/SAML login modules. Note the attached screenshot shows the URL for a site with SSO enabled.

Login Path HelperTo configure:
1.) Enable the module, then visit /admin/config/login_path_helper to adjust the URL and Link parameters.

2.) Place a custom block in the page region for your theme. For example, in the sidebar.
Configure the block's role access settings so the block is only available for Anonymous (un-authenticated) users. Uncheck the block's "Display title" setting.

3.) Optional; manually create a second "Log Out" block and display it for the Authenticated role.

Default Module Configuration Settings:
Default Configuration Settings

Module Configuration Settings for SAML/SSO Login:
SSO/SAML Example Configuration Settings

Add Custom Block Screen:
Add Block Screen

Project information

Releases