Loading...
 
Features / Usability

Features / Usability


Passing login credentials via the URL

posts: 8 United States

We have created a single user for our wiki - one that provides our customers with access to the information. I would like to add a link from our primary website to the wiki site and I would like to include the login credentials in the link, e.g.:

http://our.site.url/tiki-index.php?username=xxxx&password=yyyy

Is this feature supported out-of-the box or via an existing plugin? If so, would you please point me to such. If not, any suggestions?

Thank you.

posts: 1797 Catalan Countries

Hi groston

Search for the feature Token Access & Share in the documenation:
https://doc.tiki.org/Token+Access
https://doc.tiki.org/Share

FYI, you can alternatively also play with the http auth:
https://doc.tiki.org/External+Authentication#Web_Server_HTTP_

Or search through here:
https://doc.tiki.org/Remote+Tiki+Autologin
or here
https://doc.tiki.org/Tiki15#Temporary_User_Accounts

My best bet is that with "Tokens Access" & "Share" feautre you will do.


posts: 8 United States

Xavier,

Thank you for the reply. Based on your comments, I have been trying to get the Token Access to work, but no luck yet.

First, I went to http://my-site.tld/tiki-admin.php?page=security, clicked the Tokens tab, enabled token access, set Def Max Hits to a large number, and unchecked the other three boxes (share access rights - tell a friend, share access rights - share, do not delete temp users)

Then, on the page http://my-site.tld/tiki-admin_tokens.php, I clicked the Add New Token tab and added the following info:

Groups: Registered

I then clicked add. When I then entered the above URL into a browser window, I got the following error: Token Error - Your access to this page has expired.

I then deleted the above token and created one with this URL: http://my-site.tld/tiki-index.php?page=HomePage&TOKEN=68c3feef6d99754acd910c8643afee9f. When I entered this URL into a browser, I got the same error as above.

What am I doing wrong?



Upcoming Events

No records to display

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.