Skip to content

v0.3.0

Compare
Choose a tag to compare
@janko janko released this 05 Dec 22:04
· 52 commits to master since this release
9db7293
  • 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.