diff --git a/src/main/java/org/gcube/common/authorization/utils/secret/Secret.java b/src/main/java/org/gcube/common/authorization/utils/secret/Secret.java index 400c1f3..2e8d9cc 100644 --- a/src/main/java/org/gcube/common/authorization/utils/secret/Secret.java +++ b/src/main/java/org/gcube/common/authorization/utils/secret/Secret.java @@ -43,6 +43,10 @@ public abstract class Secret implements Comparable { public void set() throws Exception { setToken(); + + // TODO discuss if this must be done + setAuthorizationProvider(); + ScopeProvider.instance.set(getContext()); }