Thomas Segismont
Thomas Segismont
I think we should remove this example from the `4.x` branch. Users looking for an annotation-driven, reactive REST framework would better give a try to Quarkus. Fine with you @vietj...
@pmlopes @vietj any update on this?
@pmlopes this issue is related to a question on gitter about performing login with a GraphQL mutation. It seems to me that the requirement is not much different than what...
>@tsegismont, @jsoneaday Yes, to some extent yes, but if this is a common practice (auth on a data fetcher), we could have a default implementation on graphql, wdyt? @pmlopes I'm...
@pmlopes @jsoneaday here's a [demo](https://github.com/tsegismont/graphql-session) of login/logout with graphql mutations and web sessions. Auth is a provided by `HtpasswdAuth`, initialized in the verticle start method: ```java auth = HtpasswdAuth.create(vertx, new...
>In my example I use a standard route to login and then try and use that session in my graphql datafetcher, which has an empty session and user object for...
I can't see anything obviously wrong in the code. I noticed though that you don't use the Vert.x Web GraphiQL handler but rather an Apollo plugin for your browser. Perhaps...
By default the cookie is named "vertx-web.session" https://github.com/vert-x3/vertx-web/blob/6cbd41549d1a208b4e5c31d9a7d45d3fa95d8c30/vertx-web/src/main/java/io/vertx/ext/web/handler/SessionHandler.java#L51 Le lun. 8 juin 2020 à 17:39, jsoneaday a écrit : > Is there something specifically I should look for? Can I...
@jsoneaday from the screenshots it seems the problem is the session id cookie is not sent back after login. The reason is that the backend is a different domain than...
Not only `Access-Control-Allow-Credentials` must be set, but the `fetch` or `XMLHttpRequest` object must be configured to include credentials.