I already aware of this existing package. But I didn’t used it. I used famous GuzzleHttp (they used php native curl) and composer. Also in mine it have SSO option too.
After all I created this package because of I am also creating laravel package (which depends it) for easy implementation with laravel features like eloquent model. Yes few laravel packages also already exist for discourse. But I have something different in my mind for development
For those who are just finding this topic (it’s now March 2020… hello from at-home covid-19 quarantine!) –
The library from @michaeld that is mentioned above appears to be only for talking to the API. This doesn’t actually have anything to do with SSO.
I have been playing with the library from @vinothkannans that he shared on Github but, as he himself says above, he hasn’t done much testing and indeed, I find it to be pretty buggy and not ready for prime time.