I am using Moodle 3.4.
I have setup the SSO webservice that is able to authenticate moodle user & password, and returns the token as below:
{
"token": "f82e4a6173109a17e0a19b8e7a5c6945",
"privatetoken": null
}How / where do I use this token from the external site to allow SSO login for my moodle users?
I have the html format here but I dont see where to pass this token to create the logged in session:
<form id="login" class="expose" method="post" action="http://aicbuat-elearning.aicb.org.my/login/index.php">
<input type="hidden" name="username" id="username" size="20" value="<?php echo $username ?>" />
<input type="hidden" type="password" name="password" id="password" size="20" value="<?php echo $password ?>" />
</form>