SSO on self-deployed Jet Bridge
In this section you will learn how the SSO authentication flow can be done
If want SSO authentication flow to be done on your side you can configure Jet Bridge to process SSO authentication. It will also save the SSO provider's access tokens on the Jet Bridge side in cookies (instead of app.jetadmin.io by default).
1. Deploy standalone Jet Bridge as described here
pageUsing self-deployed HTTP proxy2. Change SSO Application type to Jet Bridge and specify Jet Bridge URL
3. Set up SSO configuration in Jet Bridge config file/environment
SSO_APPLICATIONS = {"a4f1552c-fdc2-4f56-ae23-6291df36ade4": {"backend_path": .... }}
SSO_APPLICATIONS is a JSON serialized dictionary of SSO application settings. Key is SSO Application ID Value is a dictionary with credentials
Here is an example of its content:
Required parameters are backend_path, key, secret. Other parameters are optional and depend on the selected SSO provider.'
4. (optional) Make sure Allow Origin is set correctly in Jet Bridge config and Jet Bridge is working through HTTPS
Settings ALLOW_ORIGIN is required when using a self-deployed HTTP proxy Running Jet Bridge through HTTPS is required if you want to use SSO access tokens in requests
Last updated