Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
root
Creator II
Creator II

OAuth2.0 help

Hello,

I need to authenticate to an Oauth2.0 service. I am unable to pass in the correct component / example to retrieve the final token.

Any suggestions? Thank you
Labels (3)
1 Solution

Accepted Solutions
Jesperrekuh
Specialist
Specialist

Use a tRest component. make a call to retrieve the token, probably json is returned.
Next a second tRest component where you add a specific header (but check your api documentation):
Authorization: Bearer yourtokenformpreviousRestcomponentCall

Sometimes there are some redirects (first tRest responds with a 301 and redirect url ) make sure to use this information correctly in your second tRest component.

If this is all to complex... which I doubt 0683p000009MA9p.png ... tSystem with cUrl will do the trick.

View solution in original post

2 Replies
Jesperrekuh
Specialist
Specialist

Use a tRest component. make a call to retrieve the token, probably json is returned.
Next a second tRest component where you add a specific header (but check your api documentation):
Authorization: Bearer yourtokenformpreviousRestcomponentCall

Sometimes there are some redirects (first tRest responds with a 301 and redirect url ) make sure to use this information correctly in your second tRest component.

If this is all to complex... which I doubt 0683p000009MA9p.png ... tSystem with cUrl will do the trick.
root
Creator II
Creator II
Author

Thank you. I was able to use tRestClient to mimic my call!