I am in the process of developing a social media scheduler and am exploring the possibility of integrating Single Sign-On (SSO) using a third-party authentication provider. I am particularly interested in whether Appfarm supports authentication providers such as Clerk (I have not investigated the mentioned ones in your docs deeply, but know that Clerk offers some sort of scope expansion for the social media platforms).
Additionally, I would like to inquire whether integrating such authentication providers would allow for increasing the scope of API requests to social media platforms. Specifically, I aim to obtain permissions to access and publish posts on behalf of my customers on their social media accounts. Could you please provide information on the possibilities and any limitations in this regard?
Furthermore, do you have any suggestions or recommendations on how best to solve the challenge of requesting scopes for SSO login that can be used for posting on platforms like Facebook and Linkedin? Any insights or guidance you could provide would be greatly appreciated.
Thank you for your assistance!
Appfarm support login with any OAuth 2 identity providers. Seems like Clerk, Facebook and LinkedIn is based on OAuth 2.
We support requesting custom scopes per user logging in. It is documentet here, see General Settings → Custom Scopes. Note that you will probably need to add a Secret with Secret Type
Oauth2 value and Uauth value
ID Token Claim and enter the name of the custom claim to save. Then when the user is accessing your App, you may use this secret in e.g. a web request (since the secret holding the value of the custom claim is bound to the current user of the App).
Hope this helps you getting started with the setup.
Okay, thank you!
I also wondered how I could connect several accounts to one primary?
For instance I want to log in with a Google account, and thereafter connect a Linkedin account and Facebook account to the existing Google account. By doing this, I want to get the authorization to publish posts on different social media platforms with authorization with the custom scopes.
What do I need to do to create this functionality, are there any components or resources that I can use to accomplish this?