Marcelo Rocha
Marcelo Rocha
I don't think we need to create a Configuration class, we could place it at Plugin class. We could also use a normal check before loading the files at bootstrap....
It seems that with Application::pluginBootstrap you should be able to handle this fine. I would say we good to close this one, what do you think @ravage84 ?
You can load your configuration before or after plugin bootstrap
You can also manually bootstrap the plugin but the bootstrap logic only makes sense to be hooked for configurations setup. So for your case the bootstrap logic does not add...
Here is a nodejs implementation for reference https://github.com/florianheinemann/passwordless
@mdeanquin0520 when using the plugin you have authentication|authorization pre-configured, check https://github.com/CakeDC/users/blob/11.next-cake4/Docs/Documentation/Authentication.md , https://github.com/CakeDC/users/blob/11.next-cake4/Docs/Documentation/Authorization.md and make sure to create a config/permissions.php file to allow access your controllers (https://github.com/CakeDC/users/blob/11.next-cake4/config/permissions.php)
I'm not sure why you need to spam the container and I feel this is not a good way to use the container, based on your code you could simply...
Were you able to fix this? I'm getting the same error. Using https://github.com/web-auth/webauthn-helper
@biracsoftware I see that you have create a custom model `Myusers` please check if you extended your table and entity classes correct, see https://github.com/CakeDC/users/blob/11.next-cake4/Docs/Documentation/Extending-the-Plugin.md#extending-the-model-tableentity
@kashifau could you show how you defined the callback?