-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TOTP? #79
Comments
You could try doing it. I currently have no time to explore it. Please note that the best place for discussions on Miaou is Miaou: https://dystroy.org/miaou/1 |
I was looking at the IP plugin and I think I could modify it. Can I setup
a "view" from a plugin? Beyond that I think it would be doable from a
plugin. I basically just need to setup a few views (login-otp with three
fields... etc).
…-Eric
-Eric
On Fri, Jul 14, 2017 at 10:15 AM, Canop ***@***.***> wrote:
You could try doing it. I currently have no time to explore it.
It should of course be done with a plugin but there might be some
necessity for a change of the core. I'll be welcoming your input for
incorporating or implementing changes in the core of miaou for this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#79 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMBABMTuaKNTDH7GJ6fpx6lSng8MhV_cks5sN3flgaJpZM4OYQc3>
.
|
A plugin can already add routes. Adding the ability to plug pug views would probably be easy. If you think you'd use it, I'll add that. |
I would use it. I'll need it to render the login page.
…-Eric
-Eric
On Fri, Jul 14, 2017 at 10:36 AM, Canop ***@***.***> wrote:
A plugin can already add routes. Adding the ability to plug views would be
easy. If you think you'd use it, I'll add that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#79 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AMBABBtgLS5pGMLXk8vyPSNbV6N2x3Lhks5sN3zigaJpZM4OYQc3>
.
|
I've built an example of a Miaou plugin declaring a route and using a pug view, it's very simple: https://github.com/Canop/miaou-sample-view |
Is there a simple way to implement login for this using passport-totp? I just need to have a static set of users that I would like to have with TOTP and not using any external oauth server. Basically I just need to have a chat that has a login with user/password/totp.... Similar to the IP-based, but instead with TOTP. The users will be static and I can just hardcode them and their keys into JS. Thoughts?
The text was updated successfully, but these errors were encountered: