Questions tagged [http-authentication]

HTTP authentication is a method for a HTTP user agent to provide a user name and a certain proof confirming the user's identity when making a request. Various proofs define different HTTP Authentication methods, e.g. basic, forms, digest, or others.

622 questions
0
votes
1 answer

How to Don't Repeat Yourself (DRY)

I have basic authorization in two places in my code. I want to separate this as one function and not repeat code. My app: from django.shortcuts import render from django.views.generic import View from django.http import HttpResponse, Http404 from…
0
votes
1 answer

Is it possible in .Net MVC to return the JWT token for user-agent to include in subsequent requests automatically?

As captioned, is it possible to achieve this without using cookie or session,and without involving any JavaScript as well?
0
votes
0 answers

http web request login fails - but username and password are correct

This is the code im using to sign it into website with http web request something is going wrong and it's not my username and password. I'm using http live headers to get information about the post message. When I try the code it give me a page as…
0
votes
1 answer

Stop retries in Android WebView HTTP Authentification

I have a WebView in my Android app which loads a webpage from my raspberry pi. This webpage is protected by Basic Authentification. webView.setWebViewClient(new WebViewClient() { @Override public void onReceivedHttpAuthRequest(WebView view,…
EV221
  • 33
  • 1
  • 7
0
votes
2 answers

How to access url that requires http authenticate in c/c++/command line?

http://admin:123456@192.168.1.178/videostream.cgi To access a url that doesn't require http authenticate it's quite easy: telnet 192.168.1.178 80 Get /videostream.cgi HTTP/1.1 Accept: text/html;text/plain User-agent: Mozilla/5.0 (Windows; U;…
ollydbg
  • 3,475
  • 7
  • 28
  • 29
0
votes
0 answers

Phantom JS Button Click and HTTP Auth

I'm doing some experiementation with PhantomJS to see if I want to use it for automated testing of a webapp I'm developing. I'm very new to PhantomJS, so I'm not sure what I'm doing entirely. I have searched around for this, but haven't seen…
0
votes
1 answer

How can I push commit to Gerrit if "committer email address does not match your user account"?

Gerrit type auth is http (apache2 uses for authentification (file user-password) ) When I try push origin HEAD:refs/for/master I have error: remote: ERROR: In commit 21875449d592efeb74543b836d7967e12befc944 remote: ERROR: committer email address…
Andrii Rallo
  • 87
  • 1
  • 12
0
votes
0 answers

Application Security Not loading resources

I am developing a Java Web app. I have just added a filter in order to make sure that users have logged in. I added in my web.xml file: security-filter
user2955610
  • 815
  • 2
  • 9
  • 15
0
votes
0 answers

Python Interface to Website API with Basic Auth

I have an Python interface to the TVMaze website's API and they are implementing new features that will require basic HTTP auth. All of the existing features will not require auth, so I don't want to change how users interact with those…
Spencer
  • 337
  • 1
  • 3
  • 8
0
votes
1 answer

partial http auth on multidomain multi store setup

i've got two domains leading to the same filebase (shop) on a multi-store setup. let's say i've got those URLs: www.first-shop.xyz www.second-shop.xyz now i need to password-protect second-shop.xyz without affecting the other one. is there a…
Simon Kraus
  • 736
  • 4
  • 14
0
votes
0 answers

Get curl past hazelcast login

I am trying to curl the main page for our hazelcast mancenter. Some examples of curl commands in a script i've used: curl -c cookies.txt -u foo:bar http://hazel01.us.domain.com/mancenter curl -b cookies.txt -u foo:bar…
0
votes
1 answer

Cannot make POST/GET request to HTTPS server with HTTP authentication through XMLHttpRequest

Suppose that I have two servers: Server A and Server B. Server A hosts the following page: