oxd-node-demo#
oxd-node-demo is demo application which communication protocol of oxD server. This can be used to access the OpenID connect & UMA Authorization end points of the Gluu Server via the oxD. This library provides the function calls required by a website to access user information from a OpenID Connect Provider by the OxD.
Installation:#
Attention:
Application will not be working if your host does not have https://.
Prerequisite
You have to install gluu server and oxd-server in your hosting server to use oxd-node library with your oxd-node-demo application.
Configuration:#
Once the library is installed, create a copy of the sample configuration file for your website in a server writable location and edit the configuration. For example
Go to properties.js,
find exports.app_port=null and enter port no inplace of "null" which ever is free on your server.
How to use:#
- Download source code for demo client application [oxd-node-demo]
- Configure your port in
properties.js
file in root directory - From command line, move into demo client application and enter
npm update
, and run it [node index]. - Go to web browser and access demo application with this url
https://localhost.com:{port}
(you can use any other port incase if 5053 port is busy in any other process) - Register your website with oxd, fill the site registration form and submit it.
- Now your site user can login using oxd-server
Demo Video:#
Have a look into this demo video, a screen recording of this demo website’s features.