OAuth plugin error oauth2/access.lua:722: [off] cannot create 'oauth2_tokens' entities when not using a database, #14295
Unanswered
masthanoli
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Im getting error as
[error] 2406#0: *705813 [kong] init.lua:426 [oauth2] ./oauth2/access.lua:722: [off] cannot create 'oauth2_tokens' entities when not using a database, client: x.x.x.x, server: kong, request: "POST /service/oauth2/token HTTP/1.1", host: "mydomain.com", request_id: "20bcab79f3ef66426302b90b1ea23421"
But it is not DB less, already DBMS postgres added
KONG Version: 3.7.1.2
LUA Version : LuaJIT 2.1.0-20231117
consumer - plugin (oauth2)
{
"tags": null,
"client_type": "confidential",
"created_at": 123,
"hash_secret": false,
"client_secret": "xxxxxxxxxxRZYqAxxxxxxx",
"id": "11111-7c00-41d3-ab35-23423423",
"name": "testaouth",
"redirect_uris": null,
"client_id": "xxxxxxxxxMrIpxxxxxxxxx",
"consumer": {
"id": "232323232323232323232323"
}
}
Beta Was this translation helpful? Give feedback.
All reactions