Authorization Button Block

This block outputs an HTML link for authorization with Discord profile. You can use block settings to alter its behavior.

Login text - will allow you to assign text of the button when a user is not authorized.

Logout text - will allow you to assign text of the button when a user is authorized.

If text is not set the default display will switch between Logout and Login with Discord texts.

Style - will allow you to add style to the button.

Redirect to - will allow you to choose where a user should be redirected after successful authorization. Last page - is the page where the button is located on. Previous page - is one page before the last page.

Last updated