niif / simplesamlphp-module-authtfaga Goto Github PK
View Code? Open in Web Editor NEWTwo-factor authentication module for simpleSAMLphp using Google Authenticator
Two-factor authentication module for simpleSAMLphp using Google Authenticator
With this module, sign in works perfectly fine (both Active Directory and OTP). For single logout, SimpleSAMLPhp do send a "success" logout message to service provider but when accessed the same URL , it directly takes to OTP page bypassing the login page for AD authentication. SimpleSAMLPhp is Identity provider in my case.
Expected Result: SimpleSAMLPhp should throw login page.
Current Result: SimpleSAMLPhp bypasses the login page and takes to OTP page.
Dear creators,
I've installed the module, enabled it and executed composer install command in the module folder..
Also added authsources section properly..
But, how can I use it? How can I start users to use it and set their authenticators?
My simplesamlphp version is 1.18.3.. The sources like for the older versions but I converted clas names to namespaces..
Still can't find how to use it..
Could you please explain it?
Thanks..
In https://github.com/NIIF/simplesamlphp-module-authtfaga/blob/master/lib/Auth/Source/authtfaga.php#L254, urlencode is called on the otpauth:// URL so it can be passed to googleapis to make a QR code. Any spaces in the totpIssuer value will not be URL encoded, so will result in a otpauth:// URL containing spaces. Google authenticator will not accept this.
Rather than urlencode, rawurlencode should be used which will convert spaces to %20.
Hi Frank,
could it be that this module is not compatibel with Latest stable version (1.14.0) of SimpleSAML? I changed two things in login.php and in general it seems to work. But the UI seems to be broken and I guess some more things are broken too. Have a look how the UI of the login page looks for me (enclosed screenshot).
Thanks,
Michael
Each DB connection issue prints DB credentials. Be aware.
Closing, added a PR.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.