Documentation index for AI tools: /llms.txt
This topic will show you how to generate and use Login Tokens for seamlessly authenticating users in ClickHelp. This is especially useful for authenticating Power Readers.
| Only users with Administrator access can create login tokens. |
- Use an existing user account or create one. You can use a Power Reader or a Contributor account.
-
You will get the token as the token field value in the response. Copy or extract it programmatically.
JSON{ "expirationDate": "2077-12-31T02:35:00Z", "token": "SMxf5RlJ586y4iYWemQyECH51ueoOdBF", "userName": "pr1", "isMultiUse": true } -
Manually or programmatically append the generated token to a link to restricted documentation as the t query parameter. For example:
https://docs.hedronlabs.org/articles/my-publication/my-topic?t=SMxf5RlJ586y4iYWemQyECH51ueoOdBF - Send this link to the user or show it in your application or on your website.
When clicking such a link, the user will get authenticated in your ClickHelp portal as the user you've specified when generating the token.
If you wish to learn more about Login Tokens, read The Token Login Mechanism.