File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ export default function register(api: OpenClawPluginApi) {
102102 // Register Linear webhook handler on a dedicated route
103103 api . registerHttpRoute ( {
104104 path : "/linear/webhook" ,
105+ auth : "plugin" ,
106+ match : "exact" ,
105107 handler : async ( req , res ) => {
106108 await handleLinearWebhook ( api , req , res ) ;
107109 } ,
@@ -110,6 +112,8 @@ export default function register(api: OpenClawPluginApi) {
110112 // Back-compat route so existing production webhook URLs keep working.
111113 api . registerHttpRoute ( {
112114 path : "/hooks/linear" ,
115+ auth : "plugin" ,
116+ match : "exact" ,
113117 handler : async ( req , res ) => {
114118 await handleLinearWebhook ( api , req , res ) ;
115119 } ,
@@ -118,6 +122,8 @@ export default function register(api: OpenClawPluginApi) {
118122 // Register OAuth callback route
119123 api . registerHttpRoute ( {
120124 path : "/linear/oauth/callback" ,
125+ auth : "plugin" ,
126+ match : "exact" ,
121127 handler : async ( req , res ) => {
122128 await handleOAuthCallback ( api , req , res ) ;
123129 } ,
You can’t perform that action at this time.
0 commit comments