Discourse sso login using Rest API

I’m creating a mobile application for my forum, and I want to use Discourse server (Rest API) with it. I’m looking for an api call which will return my sso signed payload (sig & sso). Is there any way to generate sso payload from an API call, or login to discourse using sso by using Discourse Rest API?

For mobile apps always prefer to use the user api, see: