import{getAuthDetailsFromCookies as i}from"../../utils/rbac.js";function s(e){return async(t,o)=>{const a=await i(e.getConfig().ssoDirect||{},t.get("cookies"));t.set("auth",a),await o()}}export{s as authMiddleware};
