> For the complete documentation index, see [llms.txt](https://mykolapetrovych.gitbook.io/argus-wordpress-plugin/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mykolapetrovych.gitbook.io/argus-wordpress-plugin/version-6.3.0/gutenberg-blocks/twitch/authorization-button-block.md).

# Authorization Button Block

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

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

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

The default display will switch between `Logout` and `Login with Twitch` texts if the text is not set.

***Styles*** - 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. The ***Last page*** - is the page where the button is located. The ***Previous page*** - is one page before the last page.
