OAuth
Generate OAuth login URLs.
Usage
Regular/verbose syntax. This can be useful if the provider needs to be a variable.
{{ oauth provider="github" }}
/oauth/github
Shorthand:
{{ oauth:github }}
/oauth/github
With a redirect parameter:
{{ oauth:github redirect="/account" }}
/oauth/github?redirect=/account
Parameters
provider
string|tagpart |
The provider to be used. You may either specify as a parameter or as a tagpart for shorthand. eg. |
---|---|
redirect
string |
The URL to be taken to after authenticating. This will be appending onto the generated URL as a query parameter. |