Releases: angell-co/Auth0
Releases · angell-co/Auth0
1.1.3
Added
- Added the option to check for existing users by setting a custom field and Auth0 metadata key in the config file. Set
uniqueUserFieldHandle
to the field handle anduniqueUserFieldMetaKey
to the metadata key that will be used to validate the check. This check runs before the email one and will only run if those two values are set in the config file.
1.1.2
Added
- Added a second parmater to the silen login to allow for query params to act as a fallback if the referrer is not present. Use like so:
{% do craft.auth0.silentLogin(['someapp.com','api-someapp.com'], {'ref':'someapp','n':'123'}) %}
or{% do craft.auth0.silentLogin(['someapp.com','api-someapp.com'], [{'ref':'someapp1','n':'123'},{'ref':'someapp2','n':'456'}]) %}
Changed
- Changed how the silent login referral matching works, you can now provide an array of domains to whitelist:
{% do craft.auth0.silentLogin(['someapp.com','api-someapp.com']) %}
1.1.1
Added
- Added referer matching to the silent login. This covers the situation where the client is logged in to Auth0 from another application than ours - you can pass the domain of that application in as the referrer and it will then auto-redirect to the Auth0 login URL, which in turn will redirect back to our site and log them in:
{% do craft.auth0.silentLogin(someapp.com) %}
1.1.0
Added
- Added a variable and service method that attempts to silently log in to Craft if there is already an active Auth0 session:
{% do craft.auth0.silentLogin() %}
Changed
- When logging out from the core Craft session there is now a check for an active Auth0 session before attempting to logout from there too
1.0.1
Fixed
- Fixed a few bad use references in the Auth service
1.0.0
Added
- Initial release