Endpoint used to authenticate connection between Geo Controller on your site and your external app.

Expected GET or POST parameters.

Parameter Type Obligation Description
action string required Endpoint action. Should always be: cf_geoplugin_authenticate
api_key string required API KEY
secret_key string required Secret API KEY
app_name string required Your external application name.

Return standard JSON API response format:
    "error" : false,
    "error_message" : NULL,
    "code" : 200,
    "access_token" : " - generated access token - ",
    "message" : "Successful Authentication"
Parameter Type Description
error bool true / false
error_message string Return only when error exists
code integer HTTP status code
access_token string Return access token only when authentication is successful
message string Return only when authentication is successful

When you receive your access token, you need to save it in a database or integrate it within the code in your external app and it serves for further linking to your site.

How to control access token?

That is simple. Just go to “Available Tokens” tab into REST API settings and you will see all your connected aps.

Was this page helpful?