42coders / workflows

The Workflow Package add Drag & Drop Workflows to your Laravel Application.
https://workflows.42coders.com
MIT License
253 stars 66 forks source link

addTrigger and addTask - 403 errors at workflow.js:28654 #34

Open hikoukinin opened 2 years ago

hikoukinin commented 2 years ago

addTrigger flow:

addNode - workflow.js:38664 dispatch - workflow.js:38961 (anonymous) - workflow.js:38262 (anonymous) - 1:220 ajax - workflow.js:27976 send - workflow.js:28454

Max-Hutschenreiter commented 2 years ago

Short question what do you have set as prefix in your workflow.php config file?

hikoukinin commented 2 years ago
'prefix' => ''

From: Max Hutschenreiter @.> Sent: Wednesday, 21 September 2022 7:05 PM To: 42coders/workflows @.> Cc: hikoukinin @.>; Author @.> Subject: Re: [42coders/workflows] addTrigger and addTask - 403 errors at workflow.js:28654 (Issue #34)

Short question what do you have set as prefix in your workflow.php config file?

— Reply to this email directly, view it on GitHub https://github.com/42coders/workflows/issues/34#issuecomment-1253415983 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AOGMCYOH3G343FD7X7VP6DDV7LFSNANCNFSM6AAAAAAQDZ2XLY . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AOGMCYPDB6QRUNFAI3OMJG3V7LFSNA5CNFSM6AAAAAAQDZ2XL2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSKWWOC6.gif Message ID: @. @.> >

hikoukinin commented 2 years ago

Uninstalled and reinstalled. Issue still exits 42workflow adTrigger 403

hikoukinin commented 2 years ago

Laravel.log

Max-Hutschenreiter commented 2 years ago

By default, the package is running at /workflows with the prefix you can change it. It seems that you are running it at /42workflow/workflows, so I guess you added a group or something around the routes ... You could try to change the prefix to = '42workflow/workflows'

hikoukinin commented 2 years ago

Laravel is installed in as project 42workflow at https://domain/42workflow. The 42workflow package was installed using composer creating the workflows folder, resulting in in https://domain/42workflow/workflows. If I change the prefix from ‘workflows’ to ‘42workflow/workflows' I get a 404 error for https://domain/42workflow/workflows.

web.php updated exactly from the documentation, no other customisations made.

From: Max Hutschenreiter @.> Sent: Friday, 23 September 2022 8:38 PM To: 42coders/workflows @.> Cc: hikoukinin @.>; Author @.> Subject: Re: [42coders/workflows] addTrigger and addTask - 403 errors at workflow.js:28654 (Issue #34)

By default, the package is running at /workflows with the prefix you can change it. It seems that you are running it at /42workflow/workflows, so I guess you added a group or something around the routes ... You could try to change the prefix to = '42workflow/workflows'

— Reply to this email directly, https://github.com/42coders/workflows/issues/34#issuecomment-1256051432 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AOGMCYOQQRVYLYBOSKGAHDDV7WB7VANCNFSM6AAAAAAQDZ2XLY unsubscribe.If You are receiving this because you authored the thread. https://github.com/notifications/beacon/AOGMCYLFCD25ISD53LS5GM3V7WB7VA5CNFSM6AAAAAAQDZ2XL2WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSK3XJOQ.gif Message ID: < @.> @.>

hikoukinin commented 2 years ago

Laravel is installed in as project 42workflow at https://domain/42workflow. The 42workflow package was installed using composer creating the workflows folder, resulting in in https://domain/42workflow/workflows. If I change the prefix from ‘workflows’ to ‘42workflow/workflows' I get a 404 error for https://domain/42workflow/workflows.

web.php updated exactly from the documentation, no other customisations made.