-
-
Notifications
You must be signed in to change notification settings - Fork 763
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
Sub-app issue with different authentication configuration #341
Comments
@mcchrish any chance you can put together a quick gist or github repo replicating the issue? We haven't really tested auth with sub-apps but I'd like to be able to support it. |
@ekryski here you go https://github.com/mcchrish/feathers-sub-app Based on the feathers-cli generated app. |
Hey. I just want to ask if there's a chance this issue will be solved anytime soon. If not, I guess I'll have to refactor and split my project into two separate feathers servers for the time being. |
We recently made a fix in feathersjs-ecosystem/transport-commons#18 and feathersjs-ecosystem/socketio#27 so make sure you have the latest versions installed. It may fix it but we have not tested it yet. For v1 we will definitely make sure this configuration works but that might be another month or two. |
This has been addressed in Feathers v4 which allows to register and connect to multiple authentication services. See the Migration guide for more information on how to upgrade. |
I have 2 sub-apps with each of their own auth configs, like:
App1:
App2:
But it seems one is overwriting the other depending on the order of mounting to a main feathers app.
The text was updated successfully, but these errors were encountered: