s4ntos commented on issue #12648:
URL: https://github.com/apache/apisix/issues/12648#issuecomment-3382368960

   After doing some changes I know have a more meaningfull error (I think)
   
   ```
   2025/10/08 16:27:35 [error] 98068#98068: *7826 lua entry thread aborted: 
runtime error: /usr/local/apisix//deps/share/lua/5.1/resty/openidc.lua:966: bad 
argument #1 to 'match' (string expected, got nil)
   stack traceback:
   coroutine 0:
           [C]: in function 'match'
           /usr/local/apisix//deps/share/lua/5.1/resty/openidc.lua:966: in 
function 'openidc_load_jwt_and_verify_crypto'
           /usr/local/apisix//deps/share/lua/5.1/resty/openidc.lua:1052: in 
function 'openidc_load_and_validate_jwt_id_token'
           /usr/local/apisix//deps/share/lua/5.1/resty/openidc.lua:1150: in 
function 'authenticate'
           /usr/local/apisix/apisix/plugins/openid-connect.lua:668: in function 
'phase_func'
           /usr/local/apisix/apisix/plugin.lua:1202: in function 'run_plugin'
           /usr/local/apisix/apisix/init.lua:712: in function 'fun_org'
           /usr/local/apisix/apisix/debug.lua:195: in function 
'http_access_phase'
           access_by_lua(nginx.conf:342):2: in main chunk, client: 127.0.0.1, 
server: _, request: "GET 
/anything/callback?code=1.ARAAfVI7hPGtkE27GYP.............&state=466083a2dc9c0830ce44bd76e462d5eb&session_state=87d0158a-efd4-4534-81f8-0641a0d828a6
 HTTP/2.0", host: "localhost:9443", referrer: 
"https://login.microsoftonline.com/";
   ```
   I'm not trying to troubleshoot and see if this is some kind of conditional 
access on Entra ID , by removing conditions on my profile.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to