> 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/wordpress-shortcodes/twitch/authorization-button-shortcode-1.md).

# Copy of Authorization Button Shortcode

This is an enclosing shortcode. It outputs an HTML link for authorization with a Twitch profile. You can set shortcode attributes to alter its behavior.

**The text in the shortcode** - is the text of the button. If text is not set, the default display will switch between `Logout` and `Login with Twitch` texts.

***redirect*** - attribute will allow you to choose where a user should be redirected after successful authorization. `last` - is the page where the button is located. `prev` - is one page before the last page.

***style*** - attribute will allow you to add style to the button. Use `default` for default styling of the button.

Shortcode example:

```shortcode
[argus-twitch-authorization-button redirect="prev" style="default"]Time to login[/argus-steam-authorization-button]
```
