There are several sso solutions out there. You could use simplesamlphp. You could use a database sso. The moodle docs and the internet cover it greatly.
General developer forum
SSO to moodle
This discussion has been locked so you can no longer reply to it.