Skip to content

Sparika/ACOR_SDP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ACOR SDP Negotiation

ICWE Demonstration

This simple WebRTC service demonstrates how to negotiate over identity parameters for a WebRTC session.

  • ACR: Authentication Context Class reference Request
  • OR: Origin Request

Users first authenticate to the WebRTC service, then connect to a room. For instance /room/42. When there is two users in a room a WebRTC conversation starts. However, although both users are logged into the website, they are anonymous to each others.

One user can then request the other user to authenticate. To do so it must

  • set ACR >= 0
  • set origin to a valid origin for a compatible IdP (see below)

The requesting user will then receive an identity assertion from the other peer and verify it through the linked IdP Proxy. The web application will then display the verified identity assertion (though in real life scenario, it should be the browser).

Installation: ‘sudo mongod npm install node index.js‘

Negotiation: Main negotiation code is in webrtc_service/public/javascripts/main.js

Prerequisites

The main requirement is for user to use a compatible IdP to login. It is not necessary for the user to be logged into the website with this IdP, the username+password method could be used. But the user must have an active session with the IdP.

IdPs: Compatibles IdPs are available at

The connect login option uses a Firefox extension to let the user select his own Identity Provider rather than being locked by implementation choices made by the website.

Connect login: Use OIDC adapter extension for login on Firefox.

Database: Requires Mongo

SDP Offer diagram

sdp_offer

SDP Answer diagram

sdp_answer

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published