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.** Was this post helpful? Click 💡/💖/👍/😊 below. **
** If it solved your problem. Accept it as a solution! ✔️ **
Or do you need more help? https://calendly.com/matthew-kastner/15-minute-chat
Did I help you out? Feedback is priceless and will help me more than you know.Write a review!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.** Was this post helpful? Click 💡/💖/👍/😊 below. **
** If it solved your problem. Accept it as a solution! ✔️ **
Or do you need more help? https://calendly.com/matthew-kastner/15-minute-chat
Did I help you out? Feedback is priceless and will help me more than you know.Write a review!0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 754 Beast Mode
- 61 App Studio
- 41 Variables
- 693 Automate
- 178 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive