Lua client for oxd-web
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
oxd-web-lua-2.0-0.rockspec
oxdweb.lua

README.md

oxd-web-lua

Lua library for oxd-web

Installation

luarocks install oxd-web-lua

Use

1. setup_client

    local oxd = require "oxdweb"
    
    local siteRequest = {
        oxd_host = "localhost:8553",
        scope = { "openid", "uma_protection" },
        op_host = conf.uma_server_host,
        authorization_redirect_uri = "https://client.example.com/cb",
        response_types = { "code" },
        client_name = "kong_uma_rs",
        grant_types = { "authorization_code" }
    }

    local response = oxd.setup_client(siteRequest)