You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// if (accessDeniedResponse.status !== 403) { log('Access request succeeded without policy...'); throw 0; }
89
+
90
+
log(`Without a policy allowing the access, the access is denied.`);
91
+
log(`However, the UMA server enables multiple flows in which such a policy can be added, for example by notifying the resource owner. (This is out-of-scope for this demo.)`);
92
+
71
93
log(`...`);
72
94
73
95
log(`Having been notified in some way of the access request, Ruben could go to his Authz Companion app, and add a policy allowing the requested access.`);
@@ -84,57 +106,27 @@ async function main() {
84
106
});
85
107
86
108
if(policyCreationResponse.status!==201){log('Adding a policy did not succeed...');throw0;}
87
-
109
+
88
110
log(`Now that the policy has been set, and the agent has possibly been notified in some way, the agent can try the access request again.`);
0 commit comments