Forum
See question

Web API OAuth 2.0 – Get Token Invalid URL   

58 views
0
0

Hi,

We are following the Postman Guide to work with the Web API for Jasmin here (Postman – PRIMAVERA Developers Network (primaverabss.com)) but after following these instructions we get the following error page:

 

Do you know if any of the URLs mentioned in the link is incorrect, or if there is any missing step?

 

Thank you!

Faça login para poder traduzir
API Endpoints
Integration
Jasmin
Marked as spam
Created 1 year and 7 months ago tiagoseixas
tiagoseixas Iniciante
Comments
Hi tiago, what did you do exactly? I’m assuming you didn´t had already an account, so did you select “Create your account”? Then, what option did you take for sign up? “Microsoft, Google, Apple or Email”?
1 year and 7 months ago
eduardosilva
    Hi Eduardo, I used Google as a sign in account.
    1 year and 6 months ago
    tiagoseixas
      1 answers
      0
      Private answer

      Following Eduardo's hint I created a regular account with Jasmin and got it working like this:

      r = requests.post(
                      url=self.options['auth_server_url'],
                      auth=(
                          self.options['client_id'],
                          self.options['client_secret']
                      ),
                      data={
                          'grant_type': 'client_credentials',
                          'scope': 'application',
                      }
          )

      This will return a valid token for a Client Credentials flow.

      Faça login para poder traduzir
      Marked as spam
      Created 1 year and 6 months ago tiagoseixas
      tiagoseixas Iniciante