the-control-group / authx

An authentication & authorization platform for service-oriented architectures.
MIT License
47 stars 6 forks source link

Make sure permissions respect the configured realm #1

Closed mike-marcacci closed 8 years ago

mike-marcacci commented 8 years ago

There's a "realm" config option that allows changing the realm to be something other than AuthX (like your app's name). Right now this isn't used in the scopes tried by the controllers. It needs to be there to be useful.

Instead of "AuthX:role.*:read" it should be ctx.app.config.realm + ":role.*:read".

mike-marcacci commented 8 years ago

This has been fixed in 1.0.0