Domo Everywhere

Domo Everywhere

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.

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In

Best Answers

  • Contributor
    Answer ✓

    This is supported by Domo Everywhere. Under the Private Embed section of this page should provide what you're looking for.

    Site faviconCustomer Support Community

    Was this comment helpful? Click Agree or Like below.
    Did this comment solve your problem? Accept it as the solution!

  • Coach
    Answer ✓

    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:

    1. const clientId = 'yourClientId';
    2. const clientSecret = 'yourClientSecret';
    3. const redirectUri = 'https://yourapp.com/oauth/callback';
    4.  
    5. // Redirect user to Domo's authorization endpoint
    6. app.get('/login', (req, res) => {
    7. res.redirect(`https://api.domo.com/oauth?response_type=code&client_id=${clientId}&redirect_uri=${redirectUri}`);
    8. });
    9.  
    10. // Exchange Authorization Code for Access Token
    11. app.get('/oauth/callback', (req, res) => {
    12. const authorizationCode = req.query.code;
    13.  
    14. });

    ** Was this post helpful? Click Agree or Like below. **
    ** Did this solve your problem? Accept it as a solution! **

  • Contributor
    Answer ✓

    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”.
    DOMO Developer


    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!

Answers

  • Contributor
    Answer ✓

    This is supported by Domo Everywhere. Under the Private Embed section of this page should provide what you're looking for.

    Site faviconCustomer Support Community

    Was this comment helpful? Click Agree or Like below.
    Did this comment solve your problem? Accept it as the solution!

  • Coach
    Answer ✓

    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:

    1. const clientId = 'yourClientId';
    2. const clientSecret = 'yourClientSecret';
    3. const redirectUri = 'https://yourapp.com/oauth/callback';
    4.  
    5. // Redirect user to Domo's authorization endpoint
    6. app.get('/login', (req, res) => {
    7. res.redirect(`https://api.domo.com/oauth?response_type=code&client_id=${clientId}&redirect_uri=${redirectUri}`);
    8. });
    9.  
    10. // Exchange Authorization Code for Access Token
    11. app.get('/oauth/callback', (req, res) => {
    12. const authorizationCode = req.query.code;
    13.  
    14. });

    ** Was this post helpful? Click Agree or Like below. **
    ** Did this solve your problem? Accept it as a solution! **

  • Contributor
    Answer ✓

    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”.
    DOMO Developer


    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!

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In