implementation of external API #8241
Unanswered
red-1983
asked this question in
General Question | 普通问题
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! Need help. Help me understand how to perform an external request for data in lobechat. Data is accessed through authorization. I encountered a problem when logging into the lobechat application, authorization was performed using keycloak. Then, after authorization, I take the token and place it in the header of the data request.
Initially the request is authorized and I receive data in the application, but after some time (probably after the token expires), a 401 unauthorized error appears.
Additionally, I wrote functions for updating the token, but I can’t solve the problem with the loss of authorization for the request. Please advise how to correctly add functionality for receiving data from external sources to the application.
Beta Was this translation helpful? Give feedback.
All reactions