-
-
Notifications
You must be signed in to change notification settings - Fork 253
Open
Description
Using version 1.7
, I used to inject user token with:
ngx.req.set_header("Authorization", "Bearer " .. session.data.enc_id_token)
However, when upgraded to 1.8
, the same code give:
lua entry thread aborted: runtime error: access_by_lua(nginx.conf:62):30: attempt to concatenate field 'enc_id_token' (a nil value)
But I noticed it's available in
session.data[1][1].enc_id_token
Is is an expected behavior?
Thanks
Versions:
- openresty:1.27.1.1
- lua-resty-openidc:1.8.0-1
- lua-resty-session:4.1.1-1
Metadata
Metadata
Assignees
Labels
No labels