-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Hello!
loving this package so far, i'm trying to rewrite a legacy webforms app using blazor server.
However i'm having some problems when deploying the apps.
The legacy app is deployed as a subsite, so for example: https://legacyapp.domain.com/subsite
in the appsettings.json of the blazor app i've correctly set the urls using https://legacyapp.domain.com/subsite as destinationPrefix.
In this situation the proxy doesn't seem to work, i get correctly redirected to https://legacyapp.domain.com/subsite when opening the blazor app, but after authenticating i'm not redirected back to the blazor app, whereas while debugging locally everything works as expected.
I'm guessing is has to do with the legacy app being deployed as a subsite but i'm actually not sure.
Where i get redirected for authentication the return url is https://legacyapp.domain.com/subsite/Account/Login?redirecturl=~/ which obviously cannot work... i tried manually setting the redirect url to the url of the deployed blazor app but that doesn't work too, after auth i'm redirected to the legacy app.
How should i approach this situation?
Many thanks