Available in stable development 1.15 1.14 1.13 1.12 1.11 1.10 1.9 1.8 1.7 1.6 1.5

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:

Set the callback URL to be:

Replace sp.example.org with your hostname.

1 Testing authentication

On the SimpleSAMLphp frontpage, go to the Authentication tab, and use the link:

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: