Passport to every website and blog on HTM.Wiki

A single login service for all websites using the htm.wiki platform.
This is an example, the admin of the website can restrict what content is available to passport holders, or not by declaring that content inside , special symbols such as: {name}, {email}, {picture}, {id} can be used to display name, email, profile picture and id.
Inside is also interpreted similarly. But inside , can only contain one special symbol which is {login}. Depending on the language, this {login} will be replaced, for example, in English it is "Login", in Vietnamese it is "Đăng nhập".

The video below simulates when a visitor clicks a {login} link, it will go to the service on passport.htm.wiki for authentication.


Note: Sample code used in example above is available to any *.htm.wiki site on admin
<h3>WELCOME TO MEMBER AREA PAGE</h3>

<div class=card style='background:indigo;color:white'>
YOUR INFORMATION AT MINE:<br>
<table border=0>
<tr>
<td>{picture}</td>
<td>{name}<br>Email: {email}<br>ID: {id}<br>{logout}</td>
</tr>
</table>
</div>
SPECIAL PRODUCTS AND SERVICE FOR MEMBER: NOT UPDATED YET.




Welcome you to member area.<br>
I'm inside waiting for you...<br>
Please {login} to continue.

For PHP Developers

  • $Login_URL=passport_login();
  • Returned value: $loggedin=passport()
    1. $loginby=$loggedin["by"];//facebook or google or apple,...
    2. $id=$loggedin["id"];//social_network_id, eg fb_id,google_id,...
    3. $email=$loggedin["email"];
    4. $picture=$loggedin["picture"];//profile picture
    5. $name=$loggedin["name"];