Skip to main content
Ask a Question
SSO (Single Sign-On)
Dan Bar-Shalom
Form-Data, Founder
Asked a question 6 months ago

My main use of tribe is via widgets in my webapp. Can I pass jwt token to the iframe url as query param, in order to sso with my webapp?

Where am I?

In Tribe you can ask and answer questions and share your experience with others!

Siavash
Co-founder at Tribe

Hey @Dan Bar-Shalom23,

You can achieve this using our JWT SSO app. When you install the app, there are samples in different programming languages. Just encrypt user's data using the method given and pass it to your embedded widget using ?ssoToken={yourGeneratedToken}.

Please note that generating the ssoToken should not happen on frontend or the phone app since you'll need the secret key to generate it, and the secret key should not be shared publicly.