Re: [gnome-shell-ext] Issues with basic authentication with Soup



Hi Mario,

Thanks I really appreciate your fast answer. And I joined the mailing list :)

I have tried using a basic authentication yes, Soup.AuthBasic (I hope this is the one that I should use though).
The repo you sent me is the right one yes, I created a branch called switch where I pushed my attempts. You need to change the user and password for trying it.
I think the Basic authentication should be good enough. I think my issue is that my request authenticating is correct and returns the right answer, but it seems like I cannot "keep the authentication alive" when I perform the POST request requiring the authentication.

I tried in SoapUI, having 2 requests: one for the authentication and the second doing the POST, and I get some JSON content, as expected.

Thanks for your support.
Best regards,
David

On 7 November 2016 at 10:11, Mario Wenzel <maweki gmail com> wrote:
Hi David,

first of all, as an extension developer you might want to join this
(rather new) mailing list. This is the way we (the GNOME people) want
to keep touch with the extension developer community.

Second it would be good if you posted some code or published your
current working state in a separate branch in your git repository (http
s://github.com/bo32/gnome-shell-extension-duolingo-status is the one,
right?).

Which authentication are you trying? Is it BASIC auth or something
else?

Mario  

Am Montag, den 07.11.2016, 00:05 +0100 schrieb David Bonnal:
> Hi team,
>
> I need your help regarding a Gnome-shell extension extension that I'm
> currently developing. It's the extension for Duolingo currently
> available here: https://extensions.gnome.org/
> I've been struggled for weeks now with the authentication with Soup.
> I would to implement a POST request, that requires an authentication.
> I succeed in establishing the authentication, but when I send my post
> request, it seems like the authentication is not taken in
> consideration, enough though I add in the header of my request.
>
> Are you able to assist me on this? Should I send you a piece of code?
> Do you know anyone who can support me?
>
> Thanks in advance for your answer and considering my concern :)
>
> Best regards,
> David
> _______________________________________________
> gnome-shell-extensions-list mailing list
> gnome-shell-extensions-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gnome-shell-extensions-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]