Hi Pek,
### Logging
It's weird that there are no logs printed. Do you see at least any logs in `oxauth.log` file, e.g. about oxauth starting or at least something? If yes, then lets try to workaround it, in `authorize()` method there is `AuthorizationContext` which extends `ExternalScriptContext`, so you can just take logger object via `authorizationContext.getLog()`.
`https://github.com/GluuFederation/oxAuth/blob/master/Server/src/main/java/org/xdi/oxauth/service/external/context/ExternalScriptContext.java#L50-50
`
### Scope identification
It seems you are referring to this oxauth code
`https://github.com/GluuFederation/oxAuth/blob/master/Server/src/main/java/org/xdi/oxauth/service/uma/ScopeService.java#L123-123`
This method handles two type of scopes:
- internal (those hosted by AS) - filtered by `oxType`
- external (those hosted somewhere else and we keep only reference to them) - filtered by `oxUrl`.
Via oxTrust it's allowed to add scopes which are automatically hosted by AS (hence considered as internal), therefore oxTrust does not set `oxUrl`. In case you are interested, external scopes are added automatically (if auto addition is enabled) during resource_set registration and therefore populated by oxauth (AS).
I hope it helps, let us know whether you was able to make logging work.
Thanks,
Yuriy