SSO between two apps
We have an app that uses the same SSO as our DOMO app. Is there a way to programmatically log into Domo at the same time as we log into our app without the user having to interact with any DOMO UI?
We want to add a card to our app that uses PDP.
Best Answers
-
This is supported by Domo Everywhere. Under the Private Embed section of this page should provide what you're looking for.
Was this comment helpful? Click Agree or Like below.
Did this comment solve your problem? Accept it as the solution!0 -
You should be able to programmatically log into Domo using Domo's API OAuth 2.0 authentication to give you an access token. Register your app to get client credentials (client ID and client secret) through the developer portal. Implement the authorization to get an access token and redirect back to your application.
Not sure if this is right, but something like this:const clientId = 'yourClientId'; const clientSecret = 'yourClientSecret'; const redirectUri = 'https://yourapp.com/oauth/callback'; // Redirect user to Domo's authorization endpoint app.get('/login', (req, res) => { res.redirect(`https://api.domo.com/oauth?response_type=code&client_id=${clientId}&redirect_uri=${redirectUri}`); }); // Exchange Authorization Code for Access Token app.get('/oauth/callback', (req, res) => { const authorizationCode = req.query.code; });
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Yes, you can, we do this currently for our own application.
You are going to need to use the JWT token setup. It’s a long process, but it will then let you use “PDP”, because likely the way you are doing it right now will only allow “Programmatic filters”.Check out “Domo Identity Broker”.
If you’d like I can take a video of it working for me if that’d help you understand if it fits your use case.Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.0
Answers
-
This is supported by Domo Everywhere. Under the Private Embed section of this page should provide what you're looking for.
Was this comment helpful? Click Agree or Like below.
Did this comment solve your problem? Accept it as the solution!0 -
You should be able to programmatically log into Domo using Domo's API OAuth 2.0 authentication to give you an access token. Register your app to get client credentials (client ID and client secret) through the developer portal. Implement the authorization to get an access token and redirect back to your application.
Not sure if this is right, but something like this:const clientId = 'yourClientId'; const clientSecret = 'yourClientSecret'; const redirectUri = 'https://yourapp.com/oauth/callback'; // Redirect user to Domo's authorization endpoint app.get('/login', (req, res) => { res.redirect(`https://api.domo.com/oauth?response_type=code&client_id=${clientId}&redirect_uri=${redirectUri}`); }); // Exchange Authorization Code for Access Token app.get('/oauth/callback', (req, res) => { const authorizationCode = req.query.code; });
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Yes, you can, we do this currently for our own application.
You are going to need to use the JWT token setup. It’s a long process, but it will then let you use “PDP”, because likely the way you are doing it right now will only allow “Programmatic filters”.Check out “Domo Identity Broker”.
If you’d like I can take a video of it working for me if that’d help you understand if it fits your use case.Please 💡/💖/👍/😊 this post if you read it and found it helpful.
Please accept the answer if it solved your problem.0
Categories
- All Categories
- 1.5K Product Ideas
- 1.5K Ideas Exchange
- 1.4K Connect
- 1.1K Connectors
- 283 Workbench
- 4 Cloud Amplifier
- 4 Federated
- 2.7K Transform
- 90 SQL DataFlows
- 565 Datasets
- 2K Magic ETL
- 3.4K Visualize
- 2.3K Charting
- 593 Beast Mode
- 13 App Studio
- 28 Variables
- 588 Automate
- 143 Apps
- 417 APIs & Domo Developer
- 27 Workflows
- 1 DomoAI
- 28 Predict
- 12 Jupyter Workspaces
- 16 R & Python Tiles
- 361 Distribute
- 99 Domo Everywhere
- 260 Scheduled Reports
- 2 Software Integrations
- 96 Manage
- 93 Governance & Security
- 15 Product Releases
- Community Forums
- 37 Getting Started
- 28 Community Member Introductions
- 90 Community Announcements
- 4.8K Archive