Skip to content

Can't make it work with "SSL with App code token" #4

@AguirreIF

Description

@AguirreIF

Hi, I have configured a phpIPAM API key with security set to SSL with App code token, and set this three parameters in the configuration of the plugin:

plugin»phpipam»api_url
plugin»phpipam»api_app
plugin»phpipam»api_key

but when I try a request like <phpipam lid=15 /> it gives me the error:

{php}IPAM
Error401: Unauthorized

Although this curl request works fine:

$ curl -H "token: <app_id>" "https://<phpipam.site>/api/dokuwiki/vlans/"

So, I assume the API is working fine, how can I make the plugin work with security set to SSL with App code token?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions