# Traefik dual factor auth

**URL:** <https://community.traefik.io/t/traefik-dual-factor-auth/4721>\
**Category:** Traefik v2\
**Tags:** docker\
**Created:** [March 2, 2020, 7:01pm UTC](https://community.traefik.io/t/traefik-dual-factor-auth/4721 "2020-03-02T19:01:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bd8392](https://sea2.discourse-cdn.com/flex020/user_avatar/community.traefik.io/bd8392/32/802_2.png) [@bd8392](https://community.traefik.io/u/bd8392)\
**Post date:** [March 2, 2020, 7:01pm UTC](https://community.traefik.io/t/traefik-dual-factor-auth/4721/1 "2020-03-02T19:01:41Z")

</div>

Are there any examples for traefik 2.1 for the usage with google authenticator, or keycloak? Do the new middlewares support keycloak auth natively? Or Oauth2 like described here? [https://www.smarthomebeginner.com/google-oauth-with-traefik-docker/](https://www.smarthomebeginner.com/google-oauth-with-traefik-docker/)
