feat: openid login
This commit is contained in:
@@ -109,7 +109,7 @@ function _M.access(conf, ctx)
|
||||
ngx.req.set_header("X-Store-Id", tostring(json.store_id))
|
||||
end
|
||||
if json.sale_province then
|
||||
ngx.req.set_header("X-Sale-Province", tostring(json.province))
|
||||
ngx.req.set_header("X-Sale-Province", tostring(json.sale_province))
|
||||
end
|
||||
if json.sale_mobile then
|
||||
ngx.req.set_header("X-Sale-Mobile", tostring(json.sale_mobile))
|
||||
@@ -129,6 +129,9 @@ function _M.access(conf, ctx)
|
||||
if json.type then
|
||||
ngx.req.set_header("X-User-Type", tostring(json.type))
|
||||
end
|
||||
if json.client_code then
|
||||
ngx.req.set_header("X-Client-Code", tostring(json.client_code))
|
||||
end
|
||||
end
|
||||
|
||||
ngx.req.set_header("X-Refresh", refresh or "")
|
||||
|
||||
Reference in New Issue
Block a user