Classic file types are no longer available for use as of January 2021. You can transition your classic files or download a PDF. Learn More

Get authentication token using HTTP Request

Beantwoord
0

Opmerkingen

8 opmerkingen

  • Jeff Hickey

    Hello Leandro. Could you please post the Postman collection here of the successful request made in Postman? Also which API endpoint specifically are you trying to hit? It looks like a Microsoft API. Could you link to the documentation for this particular endpoint?

    0
  • Leandro Casal

    Hello Jeff, thanks for your reply. I'm sharing the postman collection of the successful request made in postman and below is the link to the endpoint documentation used to retrieve the token

    Postman collection
    https://drive.google.com/drive/folders/1SxPsjExf4fASNb3EZc0POAKwSDNwjMWU?usp=sharing

    Microsoft API endpoint doc
    https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow

    Below you can see the successful response in postman


    Thanks, regards.

    0
  • Tony Scalese

    Hi Leandro,

    Thank you for posting this additional information.  Unfortunately, the HTTP Connector does not currently support integration with REST API endpoints that require OAuth2 authentication.  

    Sorry for the inconvenience.  The forthcoming Connector Studio will be able to support these integration needs but that is tentatively planned for FY22 launch at this point.  

    What are you trying to accomplish with this integration?  We may be able to recommend another approach if we can learn more.

    Thanks,

    Tony

    0
  • Leandro Casal

    Hi @..., thanks for your reply.

    Our goal is to establish a two way API commucation between OneStream and Workiva as follows:
    Step #1. On Workiva, trigger OneStream REST API endpoint that extracts OneStream data
    Step #2. On OneStream, upload OneStream data to WData using WData API

    We've achieved Step #2,  we're now trying to achieve Step #1.

    OneStream Authentication implementation uses external sign in, using OAuth2 (bearer token).

    I hope this gives you an idea of what we're trying to accomplish, please let me know if you need more info. Any suggestion on how to perform this is going to be greatly appreciated.

    Thanks, regards

    0
  • Tony Scalese

    Thanks for the background.  Unfortunately, there is little you can do for #1 at this time.  The Connector Studio will allow you to build a Connector once it is generally available but for now, you will need to manually produce the file from OneStream and then process it with the Chain.  

    0
  • Leandro Casal

    Ok, thanks

    0
  • Martin Jul

    Hi,

    I something similar. Generate a token through HTTP POST. Works through postman but when I execute from my chain I get that parameter Grant_Type is missing. It is specified in my body.

    Is it still not supported?

    I use Basic Authorization.

    Br

    Martin

    0
  • Martin Jul

    Hi,

    I managed.

    It is possible to pass the parameter as Form Value

    Br

    Martin Jul

    0

U moet u aanmelden om een opmerking te plaatsen.