Replies: 4 comments
-
Thanks for this, I read it roughly and still need more time to reply. We are planning breaking changes for plugins in v5 so might the best moment to do it. |
Beta Was this translation helpful? Give feedback.
-
Sounds good, what's planned for v5? |
Beta Was this translation helpful? Give feedback.
-
I will share a full plan end of the month (🤞 ), a sum of request and wishes we have around here, so anyone can contribute with a clear direction where we are going. As heads up, breaking changes on plugins, we need to think in a better approach. |
Beta Was this translation helpful? Give feedback.
-
cc: @priscilawebdev here the use case about login button |
Beta Was this translation helpful? Give feedback.
-
Hey all, I've got a Plugin API feature request. I'd be happy to provide the nesessary PRs once we've agreed what would be a good way to implement this 🦝
Is your feature request related to a problem?
Currently, adding server-side authentication providers is pretty doable with the auth plugin API.
When you're trying to modify the login button, however, things are a bit more difficult.
When and why would UI login components need to be changed?
Why is it hard to change UI login components?
Describe the solution you'd like
Option A)
This change would make things a lot easier because it would allow plugins authors to replace the login page with something that makes sense for the plugin without requiring any hacks. It's also the solution that requires the least work.
The downside is that combining multiple auth plugins is still not straightforward.
Option B)
This solution requires a bit more work but has several advantages. Auth plugins can be easily combined. Plugin authors don't need to worry about UI session-related implementation details. The amount of work to implement an auth plugin that also works on the UI is much less work.
Option C)
A solution for this could also be implemented in a "base" plugin that provides the necessary extra APIs and does all the ugly work. Auth plugins could then hook into the base plugin instead.
However, this puts great responsibility on the author of this plugin and might backfire long-term.
Describe alternatives you've considered
Thanks in advance 🎈
Beta Was this translation helpful? Give feedback.
All reactions