Skip to content

Simple VOOT OAuth "user-agent-based application" client

Notifications You must be signed in to change notification settings

maartenk/html-voot-client-makr

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VOOT Demo Client

Introduction

This application makes it possible to view group membership information, both the groups you are a member of and the members of a group (if available).

html-voot-client

html-voot-client

Installation

This application depends on the following components:

  • jQuery
  • JSrender (JavaScript Template Rendering for jQuery)
  • JSO (JavaScript OAuth 2 client)
  • Bootstrap CSS

It can easily be installed by running the following script:

$ sh docs/install_dependencies.sh

This will download the latest version of those components and everything will immediately work.

Configuration

You need to configure the application to point to your OAuth server. This can be done by copying config/config.js.default to config/config.js and modifying the config.js file to suit your situation.

This is the default configuration:

var apiClientId = 'html-voot-client';
var authorizeEndpoint = 'http://localhost/php-oauth/authorize.php';
var apiEndpoint = 'http://localhost/php-voot-proxy/voot.php';

For example, for your situation it may need to be this:

var apiClientId = 'html-voot-client';
var authorizeEndpoint = 'https://www.example.org/php-oauth/authorize.php';
var apiEndpoint = 'https://www.example.org/php-voot-proxy/voot.php';

Client Registration

Also, make sure that this client is registered in your OAuth server. The following information will be relevant:

Identifierhtml-voot-client
NameView Your Group Membership
DescriptionApplication to view your group membership and other members of your groups.
ProfileUser-agent-based Application
SecretNONE
Redirect URIhttps://www.example.org/html-voot-client/index.html

That should be all!

About

Simple VOOT OAuth "user-agent-based application" client

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.4%
  • Shell 15.6%