# Add a one time password code for admins

**URL:** https://meta.discourse.org/t/add-a-one-time-password-code-for-admins/56527
**Category:** Feature
**Created:** [January 28, 2017, 7:38pm UTC](https://meta.discourse.org/t/add-a-one-time-password-code-for-admins/56527 "2017-01-28T19:38:05Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![FlyingSwitzerland](https://avatars.discourse-cdn.com/v4/letter/f/96bed5/32.png) [@FlyingSwitzerland](https://meta.discourse.org/u/FlyingSwitzerland)
#### Post date: [January 28, 2017, 7:38pm UTC](https://meta.discourse.org/t/add-a-one-time-password-code-for-admins/56527/1 "2017-01-28T19:38:05Z")

</div>

Hello everyone, hope you’re doing all fine.

I just would like to ask if it’s possible to add a plugin.

As an admin, I think it’s very important to be sure that no one have access to our account. That’s why I would like to ask you about creating a plugin relating to Google Authenticator.

How it’ll work :  
When admins will log on, if they would like to enter into the admin page, they need to enter the one time password given by the app : Google Authenticator.

Then thy will be able to enter into their section.

I think that’s an important and useful tool. It will be awesome if you can add it 😉

Here’s the link of the app (IOS) :  
Google Authenticator par Google, Inc.  
[https://appsto.re/ch/fdakx.i](https://appsto.re/ch/fdakx.i)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [January 28, 2017, 7:40pm UTC](https://meta.discourse.org/t/add-a-one-time-password-code-for-admins/56527/2 "2017-01-28T19:40:06Z")

</div>

Duplicate of

> [@Two-factor local login option](https://meta.discourse.org/t/two-factor-local-login-option/12597):
>
> So, authentication on Discourse seems like mostly a solved problem since you can offload it to an external provider, but I’d love for Discourse to have a two-factor option for local authentication. It seems relatively uncomplicated to bolt-on support for TOTP via Google Authenticator—for example, here’s a Google Authenticator add-on [implementation](https://github.com/alexandregz/twofactor_gauthenticator) in PHP for Roundcube. Right, right, apples and oranges, php and ruby, webmail and forum, but the libraries are all there and it’d definitely make me h…

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [January 28, 2017, 7:40pm UTC](https://meta.discourse.org/t/add-a-one-time-password-code-for-admins/56527/3 "2017-01-28T19:40:10Z")

</div>


