# Sso not connecting

**URL:** https://meta.discourse.org/t/sso-not-connecting/243287
**Category:** Development
**Created:** [October 29, 2022, 3:31pm UTC](https://meta.discourse.org/t/sso-not-connecting/243287 "2022-10-29T15:31:01Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alexcomp](https://avatars.discourse-cdn.com/v4/letter/a/f04885/32.png) [@alexcomp](https://meta.discourse.org/u/alexcomp)
#### Post date: [October 29, 2022, 3:31pm UTC](https://meta.discourse.org/t/sso-not-connecting/243287/1 "2022-10-29T15:31:01Z")

</div>

Hi there  
I ask for your help.  
I use Discourse on my website and I want to use SSO. After my research I came across this script [https://gist.github.com/paxmanchris/e93018a3e8fbdfced039](https://gist.github.com/paxmanchris/e93018a3e8fbdfced039) that I followed, everything seems to be going well except that when I try it sends me to the final link (`$discourse_url = 'https://com.test.com';`) but does not log.  
I may have missed something like entering the username (or something else).  
Can you help me please?  
I’m not a php pro so please forgive me if I made any rookie mistakes.

Thanks
