On Mon, Aug 31, 2020 at 5:01 AM Prashant K <[email protected]> wrote:
> Hello All, > > I am new to Guacamole and recently installed it on Linux debian 4.19 > > Its GUI is working fine with the credentials in the Usermapping.xml and > now I am trying to use the guacamole-auth-json. > > I have followed the steps mentioned at > https://github.com/glyptodon/guacamole-auth-json and checking the > Reference implementation first. > > But when I am posting the data to the Rest API using curl it is failing > with below error: > > > > root@debian:~# curl --data-urlencode > "data=Bbg91V2NX0yUFc/fq1pl8e+mwg10qSWSRT5AmJWERt+ctO+jNy0sE96knvgD6HwU5EoV0lIfgrCzXi3qMRWmw2QDxBKjGuB8qIiHFasvoAOMLTgrlzdeqicQu2LJoOCVZErDLp/mpc0VaiAL3zuT+fOVphEQ0igNqMCaMlNMzkUQW6UPLoXYG+ouo5jvdK/0asydMjJKt797+Sl+Ir1+wK9flKpQgRxLac/MXwR5X7jPKqrlH5eTCG6s0MVEDG+ejNis3Mwow4jjpE5u6a+7e1R7tct9MIgUmNtcq/4b+APz6h2Fb9zQLzOgrycmiGlV4N1vfmGMNQEAqpRPPaQX8hun0LBNHYLAa2kwpHg8LxCDsIuYAFpVJeScm1kdWol6byq1GJx9gjauazTuwaMYGg72EjImVdqjsG96+ceNDjOdJwkL4gu32Az1Dxap7Er6PECMzcCpP61ItEvBkRYkQg==" > http://10.9.31.33:8080/guacamole/api/tokens > > {"message":"Permission Denied.","translatableMessage":{"key":"Permission > Denied.","variables":null},"statusCode":null,"expected":[{"name":"username","type":"USERNAME"},{"name":"password","type":"PASSWORD"}],"type":"INVALID_CREDENTIALS"}root@debian > :~ > > > > Please suggest where to look into to resolve this issue? > > > >From the page: > If the data is invalid in any way, if the signature does not match, if decryption or signature verification fails, or if the submitted data has expired, the REST service will return an invalid credentials error and fail without user-visible explanation. Details describing the error that occurred will be in the Tomcat logs, however. Mike can probably help a little more with this than I can, but I'd suggest looking at the Tomcat logs for your particular install and see what is being logged, there. -Nick >
