Online Chat
 Call Us: 
1-877-744-1221
Browse Submit a Ticket
 
Advanced Search
Tools
Rss Categories

Embedding login and password to the URL

Author: Edward Hardin Reference Number: AA-00310 Views: 8959 Last Updated: 09/04/2015 02:37 PM 100 Rating/ 1 Voters

Q: I will be using passworded access for my customers and internal staff. I will embed a link to the KB in my company's hosted application. Is there a syntax for embedding login credentials in the URL?

A: You can use the following link format to guide user to the login form with already filled login and password fields:

http://www.yourwebsite.com/admin/authorization/loginForm/0/login/password/1

where "login" and "password" should be actual login information.

After opening of such an URL, user just needs to click "Login".

Password Restrictions

Please note that in order to work properly when embedded into a URL, password must contain only URL-safe characters, such as letters and numbers.

URL Rewrite

Please note that if URL Rewrite is not enabled in your KB, you would need to use the following link format (with added index.php?/ part):

http://www.yourwebsite.com/admin/index.php?/authorization/loginForm/0/login/password/1