ExpressJS (server-client)
In this example, you would need https://YOUR_APPLICATION_ROOT_URL/callback in "Redirect URIs" above.
🔨 Your client is being created
Give your keyholders' special access
by defining the relationship between your locks and authorization roles
As an OIDC Provider, Unfurl easily integrates with everything.
Usually this just means telling your current tools who we are:
https://auth.unfurl-connect.com
and your CLIENT_ID
Check out the examples below.
const { auth } = require('express-openid-connect');
app.use(
auth({
issuerBaseURL: 'https://auth.unfurl-connect.com',
baseURL: 'https://YOUR_APPLICATION_ROOT_URL',
clientID: 'YOUR_CLIENT_ID',
secret: '***********************',
response_type: 'code',
response_mode: 'form_post',
scope: 'openid offline_access roles',
claims: {
id_token: {"roles": { "essential" : true } }
}
})
);
In this example, you would need https://YOUR_APPLICATION_ROOT_URL/callback in "Redirect URIs" above.