| Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 uid=1(daemon) gid=1(daemon) grupos=1(daemon) Safe-mode: OFF (not secure) /opt/apex_tdfonline/php/3ros/simplesamlphp/modules/authtwitter/docs/   drwxr-xr-x | |
| Viewing file: Select action/file-type: Using the Twitter authentication source with simpleSAMLphp ========================================================== Remember to configure `authsources.php`, with both Consumer key and secret. To get an API key and a secret, register the application at: * <http://twitter.com/oauth_clients> Set the callback URL to be: * `http://sp.example.org/simplesaml/module.php/authtwitter/linkback.php` Replace `sp.example.org` with your hostname. ## Testing authentication On the SimpleSAMLphp frontpage, go to the *Authentication* tab, and use the link: * *Test configured authentication sources* Then choose the *twitter* authentication source. Expected behaviour would then be that you are sent to twitter, and asked to login:  The first time a user uses your application to login, he/she is asked for consent:  You will then be authenticated in SimpleSAMLphp and see an attribute set similar to this:  | 
| :: Command execute :: | |
| --[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.9573 ]-- |