PrivacyIdea with running user database?

47 views
Skip to first unread message

Alex Stuart

unread,
Jan 24, 2016, 6:44:11 PM1/24/16
to privacyidea
I am fairly new into scripting and cut and paste tools to existing user databases, so if it is a dumb question, sorry for it.

I want to add 2FA to my webmail service which has its own user database. I was wondering if PrivacyIdea can easily being integrated into an existing  website?

Are there scripts which i can look in to to see how things can be integrated?

Cornelius Kölbel

unread,
Jan 25, 2016, 3:40:12 AM1/25/16
to priva...@googlegroups.com
Hi Alex,

privacyIDEA can read the users from the SQL database.
You need to configure a SQL Resolver and a Realm.
Then you will be able to assign 2FA-Devices to the users within
privacyIDEA.

The integration for authentication depends on the Web application
(webmail) you have and the programming language.
For several applications there are already plugins. For others such a
plugin would have to be written.

Can you tell what it is?

Kind regards
Cornelius
> --
> You received this message because you are subscribed to the Google
> Groups "privacyidea" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to privacyidea...@googlegroups.com.
> To post to this group, send email to priva...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/privacyidea/4cf38c49-9261-4152-9842-8396ae330b87%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

--
Cornelius Kölbel
corneliu...@netknights.it
+49 151 2960 1417

NetKnights GmbH
http://www.netknights.it
Landgraf-Karl-Str. 19, 34131 Kassel, Germany
Tel: +49 561 3166797, Fax: +49 561 3166798

Amtsgericht Kassel, HRB 16405
Geschäftsführer: Cornelius Kölbel


signature.asc

Alex Stuart

unread,
Jan 25, 2016, 6:41:52 AM1/25/16
to privacyidea
Hi Cornelius,

It is b1gmail, an email provider service.

I don't know very much about programming and such, but i would love to try it.

Regards Alex

Cornelius Kölbel

unread,
Jan 25, 2016, 6:55:20 AM1/25/16
to priva...@googlegroups.com
Hello Alex,

you are running the software on your own server or are you using a
hosted service?

As you would need to adapt the software, this will not work, if you are
using a hosted service.

Anyhow, I do not now if it is per license allowed to modify this
software.

But as it is PHP: There are different examples of integrating the 2
factor authentication against privacyIDEA into a PHP application.
Since privacyIDEA provides a simple REST API:

https://github.com/privacyidea/privacyidea/blob/master/authmodules/TYPO3/privacyidea/Classes/PrivacyideaAuth.php
https://github.com/privacyidea/simplesamlphp-module-privacyidea/blob/master/lib/Auth/Source/privacyidea.php
https://github.com/cornelinux/wordpress-strong-authentication/blob/master/strong-authentication.php

Kind regards
Cornelius
> https://groups.google.com/d/msgid/privacyidea/a8ac89ec-772f-44aa-88fb-172e1e9ec0ca%40googlegroups.com.
signature.asc

Alex Stuart

unread,
Jan 25, 2016, 12:29:45 PM1/25/16
to privacyidea
Thank you very much....much appreciated!

I have a VPS which the hardware node is also mine :) so it should be ok. Software is PHP so i think i can manage it. If not, can i get help here?

regards Alex

Cornelius Kölbel

unread,
Jan 25, 2016, 2:38:05 PM1/25/16
to priva...@googlegroups.com
I think I already pointed to the REST API which is rather simple and
straightforward - also with the examples from the other plugins.
Just for your information: I also contacted the developer of b1gmail in
case he is interested in 2FA.

But you can of course also get development services here:
https://netknights.it/en/leistungen/development/

Kind regards
Cornelius
> https://groups.google.com/d/msgid/privacyidea/83373c71-2e46-4c40-b527-2b7ac2418194%40googlegroups.com.
signature.asc
Reply all
Reply to author
Forward
0 new messages