tarickb / sasl-xoauth2

SASL plugin for XOAUTH2
Other
72 stars 20 forks source link

TokenStore::Read: exception=in Json::Value::find(begin, end): requires objectValue or nullValue #46

Closed leansb closed 1 year ago

leansb commented 1 year ago

Greetings,

On the Ubuntu 22.04 While reading the token file, sasl-xoauth2 throwing this error on the syslog TokenStore::Read: exception=in Json::Value::find(begin, end): requires objectValue or nullValue

The json file structure seems fine.

My package version: sasl-xoauth2/jammy,now 0.16-1ubuntu1~jammy1~ppa1 amd64

Any ideas ?

Thanks Leandro

leansb commented 1 year ago

Problem solved. As a matter of fact the token file was incorrect. I have done jason.dump(access_token) instead of jason.dump(access_token[0]).