Skip to main content
Decorator function to register an OAuth authentication provider. The decorated function must: This function can be imported from the squirrels.auth or the squirrels module.

Arguments

str
required
The name of the provider (must be unique, e.g., ‘google’)
str
required
The display label of the provider (e.g., ‘Google’)
str
required
The URL of the icon for the provider

Example