Separate frontend and backend #951
Replies: 4 comments
-
|
Hi @pshah-allegion 👋 Thanks for the opening this issue.
Feel free to share your mu‑plugin code and any php/js errors you’re seeing. Once I can see exactly what you tried, I can help you refine . Let me know! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @kishore7snehil, Thanks for the information.
For the suggested solutions, I'll need to make changes in the plugin files for this, right? I was wondering if in case of any future updates, it might become an issue?
|
Beta Was this translation helpful? Give feedback.
-
|
Hi @pshah-allegion, Thanks for the follow-up question! Before I dive into the solution approach, I wanted to check: are you still experiencing this issue, or have you been able to resolve it on your end? If you've found a working solution, I'd love to hear what approach you took! If you're still working on this, here's my take on your concern about future updates: Regarding modifying plugin files directly: You're absolutely right to be cautious. Any changes made directly to the plugin files (in The recommended approach for your specific use case would be to implement this as a custom mu-plugin (must-use plugin) in your WordPress installation. This way:
Why not add this to the core plugin? While I understand this is important for your use case, adding it as a core feature requires us to:
Since this is a fairly specific requirement that may not apply to all users, the mu-plugin approach gives you the flexibility you need without the complexity of generalizing it for everyone. If you're still working on this, I'm happy to point you in the right direction on how to structure a mu-plugin solution that hooks into the right WordPress actions to achieve what you need. Just let me know! |
Beta Was this translation helpful? Give feedback.
-
|
@kishore7snehil I did a POC with the Auth0 PHP SDK, but it would be preferable to also have an alternative solution that's made specifically for WordPress. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Description
We don't want Auth0 to impact backend logins, we would like to implement it only for the frontend.
I'm using version 5.2.1 and also tried to extend it using wpAuth0 SDK as mentioned int the documentation. But it didn't work.
Reproduction
Additional context
No response
wp-auth0 version
5.3
WordPress version
6.8
PHP version
8.2
Beta Was this translation helpful? Give feedback.
All reactions