mbknor / akka-http-tools   0.8

MIT License GitHub

A set of utilities useful when implementing REST-applications using akka-http

Scala versions: 2.12

akka-http-tools

Build Status Maven Central

Contains a set of utilities useful when implementing REST-applications using akka-http


How to modify auth0 rule to include permissions when using Authorization extention

// Custom 
const namespace = 'https://yourdomain.com/claims/';
context.idToken[namespace + 'groups'] = data.groups;
context.idToken[namespace + 'roles'] = data.roles;
context.idToken[namespace + 'permissions'] = data.permissions;