Unknown function: ontains() when using PocketId as authentication provider #218

Closed
opened 2026-04-05 17:02:48 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @svillar on 2/22/2026

Describe the Bug

Trying to login in Pangolin using PocketId as auth provider. PocketId is properly configured as I'm already using it to authenticate 3 other web apps.

When logging into Pangolin I get the following error in pangolin logs

pangolin  | Making OIDC callback validation request to: http://localhost:3000/api/v1/auth/idp/5/oidc/validate-callback
pangolin  | 2026-02-22T21:17:43+00:00 [error]: Unknown function: ontains()
pangolin  | Stack: Error: Unknown function: ontains()
pangolin  |     at Runtime.callFunction (/app/node_modules/jmespath/jmespath.js:1212:17)
pangolin  |     at TreeInterpreter.visit (/app/node_modules/jmespath/jmespath.js:1068:35)
pangolin  |     at TreeInterpreter.visit (/app/node_modules/jmespath/jmespath.js:1047:28)
pangolin  |     at TreeInterpreter.visit (/app/node_modules/jmespath/jmespath.js:1041:30)
pangolin  |     at TreeInterpreter.search (/app/node_modules/jmespath/jmespath.js:866:23)
pangolin  |     at Object.search (/app/node_modules/jmespath/jmespath.js:1665:26)
pangolin  |     at validateOidcCallback (file:///app/dist/server.mjs:33001:37)
pangolin  |     at process.processTicksAndRejections (node:internal/process/task_queues:103:5)

Most likely there is a ontains() call instead of a contains() one

Environment

  • OS Type & Version: Debian testing
  • Pangolin Version: 1.15.4
  • Gerbil Version:
  • Traefik Version:
  • Newt Version: 1.9.1
  • Olm Version: (if applicable)

To Reproduce

Log in using PocketId

Expected Behavior

Login should succeed :)

*Originally created by @svillar on 2/22/2026* ### Describe the Bug Trying to login in Pangolin using PocketId as auth provider. PocketId is properly configured as I'm already using it to authenticate 3 other web apps. When logging into Pangolin I get the following error in pangolin logs ``` pangolin | Making OIDC callback validation request to: http://localhost:3000/api/v1/auth/idp/5/oidc/validate-callback pangolin | 2026-02-22T21:17:43+00:00 [error]: Unknown function: ontains() pangolin | Stack: Error: Unknown function: ontains() pangolin | at Runtime.callFunction (/app/node_modules/jmespath/jmespath.js:1212:17) pangolin | at TreeInterpreter.visit (/app/node_modules/jmespath/jmespath.js:1068:35) pangolin | at TreeInterpreter.visit (/app/node_modules/jmespath/jmespath.js:1047:28) pangolin | at TreeInterpreter.visit (/app/node_modules/jmespath/jmespath.js:1041:30) pangolin | at TreeInterpreter.search (/app/node_modules/jmespath/jmespath.js:866:23) pangolin | at Object.search (/app/node_modules/jmespath/jmespath.js:1665:26) pangolin | at validateOidcCallback (file:///app/dist/server.mjs:33001:37) pangolin | at process.processTicksAndRejections (node:internal/process/task_queues:103:5) ``` Most likely there is a `ontains()` call instead of a `contains()` one ### Environment - OS Type & Version: Debian testing - Pangolin Version: 1.15.4 - Gerbil Version: - Traefik Version: - Newt Version: 1.9.1 - Olm Version: (if applicable) ### To Reproduce Log in using PocketId ### Expected Behavior Login should succeed :)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/pangolin#218