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.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive