-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Err while using custom route in pagebuilder config #60
Comments
This means you have disabled the default authentication module. Therefore you need to provide your own controller methods, one that is a catch all request for all website pages which calls handlePublicRequest(). And one controller method for the pagebuilder in which you check that the user is authenticated and then calls handleAuthenticatedRequest(). Here you can read more details: #8 |
Thanks for Reply, i followed the #8 and end up with this error while registering singlton:
on AppServiceProvider
Thanks |
The class PHPageBuilder is not part of the |
Perfect! now i can access/views my pages i build in PageBuilder. I can also access PageBuilder to edit Pages on custom Route like '/pages/1/build' or any other. But when i try to access PageBuilder to edit pages with Can you please explain with code how to fix it ? Thanks! |
This means you have disabled the authentication module and thus cannot call the |
I am trying to use my own auth and crm. While i am logged into my CRM. I updated the url of pagebuilder config to
'pagebuilder' => [ 'class' => PHPageBuilder\Modules\GrapesJS\PageBuilder::class, 'url' => '/app/page/edit', 'actions' => [ 'back' => '/app/page/index' ] ],
while accessing this url i am getting this error
Authentication is disabled, use handlePublicRequest() and handleAuthenticatedRequest()
Please update on this Thanks!
The text was updated successfully, but these errors were encountered: