Skip to content

v0.6.0

Latest
Compare
Choose a tag to compare
@janko janko released this 29 Nov 23:19
· 8 commits to master since this release
796cfb4
  • OmniAuth login can now count as two factors when account is using 2FA. This is useful when using OmniAuth login as SSO, and one can rely on an 2FA policy on the external provider.

    omniauth_two_factors? true

    This can also be made conditional based on data from the external provider, for example:

    omniauth_two_factors? do
      # only count as two factors if external account uses 2FA
      omniauth_extra["raw_info"]["two_factor_authentication"]
    end