I've created a custom authentication plugin and it works well. The plugin is in the plugins folder plugins/authentication.
Now I face the problem, when I would like to login in my backend, then the plugin will be initiated and my login into the backend fails.
How can I make the plugin only working for my frontend or by using my component?