mozilla / django-badger

django-badger is a reusable Django app for creating and awarding badges. See also badges.mozilla.org
https://github.com/mozilla/django-badger
BSD 3-Clause "New" or "Revised" License
117 stars 61 forks source link

Support subdomains for separate issuer origins #38

Open lmorchard opened 12 years ago

lmorchard commented 12 years ago

On badg.us, everything happens on the same domain / origin. It could be interesting to support username-based subdomains to offer separate issuer domains. So, you'd have badges coming from origins like:

Each of those domains would be a "home page" for that user's created badges, and OBI JSON assertions would include separate origins for each issuer.

Basing this on username could be a problem for groups / institutions, though. That places all power with one user, when there should be a number of people involved. Maybe the origin should be an arbitrarily-named thing that any user can create and share with delegate groups? Name it after the user by default, but allow the name to be changed.

lmorchard commented 11 years ago

A big monkey wrench: If the site is served up behind SSL, wildcard domains become much more difficult.