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
-1
votes
1 answer

How to logout of Auth basic authentication with htaccess?

I'm doing HTTP basic authentication via .htaccess, and I need to logout; is this possible? Thanks.
user964104
  • 375
  • 1
  • 7
  • 12
-1
votes
1 answer

Angular 8 / NodeJS CORS error: Redirect location disallowed

I am using Angular 8 with a NodeJS backend in a lab environment. I have a button in Angular which sends a value to the backend server using a POST request. When the value is received, the backend reaches out to an API server based on the value from…
-1
votes
1 answer

Using @ character on http auth for git pull

I need to run this command: git pull "https://user:password@bitbucket.com/user/repo.git" master My problem, the password include the @ character, and I end with an error like: "host asd@bitbucket.com couldn't found" where "asd" is the last part of…
lcjury
  • 1,158
  • 1
  • 14
  • 26
-1
votes
1 answer

Make an http request in Java without modifying global state

Suppose I want to make an HTTP request in Java. I thought I could just do something like new URL("http://example.com").openConnection(). And it seems that for simple things I can indeed do that. However, I've run into two cases already where I…
Mark VY
  • 1,489
  • 16
  • 31
-1
votes
1 answer

Using kik's API with ruby

Ok so Im learning ruby and wanted to create a bot for kik https://dev.kik.com, I just don't understand whats wrong. Here is the Code require 'HTTParty' require 'base64' require 'json' bot_name = #bot_name api_key = #api_key message =…
Scope
  • 85
  • 2
  • 12
-1
votes
2 answers

How does the Negotiate HTTP authentication mechanism establish a session?

As described in RFC 4559, the Negotiate mechanism may take several requests to complete a GSSAPI context. I cannot understand from the RFC what mechanism is used to associate those requests with one another, however. To take the example described in…
Dolda2000
  • 25,216
  • 4
  • 51
  • 92
-2
votes
1 answer

Avoid Login popups when JQuery loads content with $.ajax

I have a index.html which loads 3 blocks of content using 3 different $.load(...) queries. When I use basic http authentication , the login and pass is requested 4 times. 1 on the page load, and 1 for each content. How can I keep the login up,…
diego.martinez
  • 1,051
  • 2
  • 11
  • 25
1 2 3
41
42