Verify Token in backend
Hello Support:
I have a question regarding Token Verifying in backend.
you know after site long in. the site will generate a site token.
I can get it form Workflow or Custom Module.
I want to pass this token to my backend service, such as handler.
Is there any way to veify it in my source code ?
0
-
Hi Jimmy,
When workflow provides a token for service access, it requests that token from the client API. The client API is responsible for ensuring that the token is active. If you made a custom module that obtained the Site token then it would also use the client API.
It is assumed that the token would remain valid for at least 10 minutes (since the client API should try to refresh the token 10 minutes before it expires) - however, if you pass the token to some other service then there is no guarantee that it will work from your other service. It should work, but if it it does not, then the Essentials endpoint you are accessing will return an Access Denied error (not an Invalid Token).
Regards,
-Malcolm0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar