v0.3.0
-
Added
account_from_omniauth
auth method for changing how an existing account is found for a new external identity. By default, it searches for accounts with the same email as the external identity.account_from_omniauth do account_table_ds.first(email: omniauth_email) # roughly the default implementation end # or account_from_omniauth {} # new identity = new account
-
Calling OmniAuth endpoints via JWT requests should now work correctly when using something other than Roda sessions plugin, such as
Rack::Session::Cookie
or Rails session. -
When attempting to log into an account that's unverified, an error reason is now set to
:unverified_account
when returning the error response. -
When there is an OmniAuth authentication failure, an error reason is now set to
:omniauth_failure
when returning the error response.