Mobile (firebase) SSO authentication

I want to have a mobile app (xamarin) and inside of my app I’d like to put webView with access to my discourse forum. I have login page in my app so I don’t want to login again to discourse (that’s why I want to use SSO server: DiscourseConnect - Official Single-Sign-On for Discourse (sso)) but enter it already authenticated.

Is it possible to do it that way that I will enter discourse forum (from inside my mobile app in embaded web view) with passed parameters (I’m thinking about passing firebase token in discourse url parameters but I don’t know if it is possible and if it will work) discourse will encode payload (with passed firebase token) and send it to my SSO server where I will validate this token in firebase and redirect to discourse with logged user data.