-
Notifications
You must be signed in to change notification settings - Fork 84
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
[Web] base-href is getting ignored, redirect to /dashboard #3524
Comments
To give some more feedback: Twake Mail works quite well. Mail sending, searching and receiving works just fine and is pretty responsive! Regarding the rest: JAMP seems to interface quite nicely with Stalwart, but I didn't try advanced auth (only plain password). I don't see Twake Mail using the websocket for some reason, although it is advertised by Stalwart. It might be a configuration mistake from my side, but it hinders real-time message reception. The rest is nice, maybe some little things I've noticed:
This are just some of my thoughts, maybe they help... I have tried removing this line, but it doesn't fix the sub-path issue. I think you do some manual route management but I don't have any experience with Dart/Flutter. Line 41 in aac478b
Regarding the routing: Maybe the Edit: |
Browser API do not allow setting the We designed a custom extension for Twake Mail so that we could bypass it in our project stack: https://github.com/linagora/tmail-backend/blob/master/docs/modules/ROOT/pages/tmail-backend/jmap-extensions/ticketAuthentication.adoc Stallwart would need to adopt it... I had similar concerns when integrating with Parula. Maybe we would need also to share this in the IETF. Cc @mdecimus ... |
Twake mail follows the sort order property setted up by the mail server. Please report to stallwart. |
I got the idea, but as soon as you reply to a mail Anyway twake mail target is a non technical audience that do not understand difference between TL;DR I do not see us changing this. (But thanks for sharing your thoughts!) |
Can you please confirm Stallwart serve it's OpenID connect configuration on I just spoke with @hoangdat the mobile currently do ignore this location, it would be easy to fallback to it if webfinger call fails (CF https://openid.net/specs/openid-connect-discovery-1_0.html ) hence I suggested to add support for it... |
me@host ~$ curl https://mail.example.com/.well-known/oidc-configuration
{"type":"about:blank","status":404,"title":"Not Found","detail":"The requested resource does not exist on this server."}%
me@host ~$ if that helps. |
Sorry this is |
root@host:~# curl localhost:8080/.well-known/openid-configuration | jq
{
"issuer": "https://mail.example.com",
"authorization_endpoint": "https://mail.example.com/authorize/code",
"token_endpoint": "https://mail.example.com/auth/token",
"userinfo_endpoint": "https://mail.example.com/auth/userinfo",
"jwks_uri": "https://mail.example.com/auth/jwks.json",
"registration_endpoint": "https://mail.example.com/auth/register",
"scopes_supported": [
"openid",
"offline_access"
],
"response_types_supported": [
"code",
"id_token",
"id_token token"
],
"subject_types_supported": [
"public"
],
"grant_types_supported": [
"authorization_code",
"implicit",
"urn:ietf:params:oauth:grant-type:device_code"
],
"id_token_signing_alg_values_supported": [
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"PS256",
"PS384",
"PS512",
"HS256",
"HS384",
"HS512"
],
"claims_supported": [
"sub",
"name",
"preferred_username",
"email",
"email_verified"
]
}
root@host:~# |
Hello and thanks for this great software btw. it looks very promising :). I love that it is purely client side!
I am trying to use Twake Mail in combination with Stalwart, and want it to be reachable on a subpath like so:
mail.example.com/webmail
. Stalwart should be available onmail.example.com/
I serve the static files using Nginx, and I have compiled it with
flutter build web --release --base-href "/webmail/"
to make sure it works on the subpath.Unfortunately, always after logging in it redirects me to
mail.example.com/dashboard?type=normal
, so it completely ignores the base-href "/webmail/" which is a bit annoying if you reload/bookmark, since you get a 404 then.Do you have an Idea how to fix this issue?
I have attached my Nginx config for clarification.
Kinda related:
#3167
The text was updated successfully, but these errors were encountered: