Skip to Content
author's profile photo Former Member
Former Member

OAuth Client on trial SAP Jam instance problem

Hi,

I'm trying to create OAuth Client on trial SAP Jam Instance to use it with XS destination.

When I do that I get Client ID, but no Secret key which I should store in the xsoatuhclientconfig file.

And because of that when I do SAP Jam API request, in response I receive an error that the account is not authorized.

Why the Secret Key is missing on developer.sapjam.com? Is this issue related with developer instance or am I missing something here?

Thanks,

Petar

oauthclient.jpg (49.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Jul 06, 2016 at 03:50 PM

    Hi Petar,

    As you are providing a X509 certificate, you do not have a secret. This is expected as you would be using the certificate to sign the request instead. Please take a look at the following page of our documentation: SAP Jam Collaboration Developer Guide

    Thanks,
    Adam

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Petar,

      I don't have any sample XS code that I can provide, but looking at your settings, I'm not sure if this would work. You look like you are directly trying to create an assertion and pass it to the single_use_token page, which is not how you do a SAML assertion. You need to pass the assertion to api/v1/auth/token. You would then use that token to create the single use token.

      Thanks,
      Adam

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.