Hi,
I am using Drupal CMS for developing an E-commerce application(Online Test application), where user will view the test details and pay for the test.
Once the payment is done user will get auto-login credentials based on the email id provided by the user while making payment.
Once the payment is successful user will have get the "Access Test" link which will redirect them to the Angular JS application where they can complete the test.
The requirement is to use Drupal as Identity Provdier(IDp) where the user login credentials and session will be maintained. Angular JS will be Service Provider(SP) which will use the drupal login credentials to access the content on the application.
Please suggest me on how to connect both Drupal and Angular JS using SimpleSAMLPHP to build the above functionality.