Authentication

From WarfishWiki

Jump to: navigation, search

Authentication [back to top]

Note: The current authentication is a just temporary solution while a full solution involving APPIDs is developed.

The XML APIs are currently enabled on a per user basis, please create a test user and contact support including your real account email and your test account email in the message if you would like access to the XML/JSON apis. Once enabled use your Warfish cookie with your REST requests. You can easily retrieve your login cookie using your web browser by typing when you are logged in and viewing any Warfish page:

javascript:document.write(document.cookie);

into your browser location line. Once you retrieve your cookie you can cut and past it into your application. If you are writing browser based JSON applications no additional work should be required once your user id is enabled since the browser will pass your Warfish cookie when you application is making script src "JSON" requests.

Personal tools