Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [authentication]

Authentication is the process of providing a proof of identity or verifying identity.

5511 votes
11 answers
690k views

The definitive guide to form-based website authentication [closed]

Moderator note: This question is not a good fit for our question and answer format with the topicality rules which currently apply for Stack Overflow. We normally use a "historical lock" for ...
1230 votes
54 answers
2.4m views

Git push results in "Authentication Failed"

I have been using GitHub for a little while, and I have been fine with git add, git commit, and git push, so far without any problems. Suddenly I am having an error that says: fatal: Authentication ...
zkirkland's user avatar
  • 12.7k
1174 votes
23 answers
369k views

What's the difference between OpenID and OAuth?

I'm really trying to understand the difference between OpenID and OAuth? Maybe they're two totally separate things?
Micah's user avatar
  • 114k
1079 votes
18 answers
1.4m views

PostgreSQL error: Fatal: role "username" does not exist

I'm setting up my PostgreSQL 9.1. I can't do anything with PostgreSQL: can't createdb, can't createuser; all operations return the error message Fatal: role h9uest does not exist h9uest is my ...
h9uest's user avatar
  • 11.4k
998 votes
43 answers
733k views

"UNPROTECTED PRIVATE KEY FILE!" Error using SSH into Amazon EC2 Instance (AWS) [closed]

I've created a new linux instance on Amazon EC2, and as part of that downloaded the .pem file to allow me to SSH in. When I tried to ssh with: ssh -i myfile.pem <public dns> I got: @@@@@@@@@@@@@...
Matt Roberts's user avatar
  • 26.7k
796 votes
14 answers
430k views

RESTful Authentication

What does RESTful Authentication mean and how does it work? I can't find a good overview on Google. My only understanding is that you pass the session key (remeberal) in the URL, but this could be ...
Jim Keener's user avatar
  • 9,295
710 votes
17 answers
259k views

Authentication versus Authorization

What's the difference in web applications? In short, please. I see the abbreviation "auth" a lot. Does it stand for auth-entication or auth-orization? Or both?
daGrevis's user avatar
  • 21.3k
660 votes
17 answers
329k views

JWT (JSON Web Token) automatic prolongation of expiration

I would like to implement JWT-based authentication to our new REST API. But since the expiration is set in the token, is it possible to automatically prolong it? I don't want users to need to sign in ...
maryo's user avatar
  • 6,819
645 votes
48 answers
1.2m views

Google OAuth 2 authorization - Error: redirect_uri_mismatch

On the website https://code.google.com/apis/console I have registered my application, set up generated Client ID: and Client Secret to my app and tried to log in with Google. Unfortunately, I got the ...
user984621's user avatar
  • 47.7k
644 votes
24 answers
567k views

How to reset Django admin password?

I am using Django (version 1.3) and have forgotten both admin username and password. How to reset both? And is it possible to make a normal user into admin, and then remove admin status?
IamH1kc's user avatar
  • 6,722
610 votes
9 answers
520k views

What are the main differences between JWT and OAuth authentication?

I have a new SPA with a stateless authentication model using JWT. I am often asked to refer OAuth for authentication flows like asking me to send 'Bearer tokens' for every request instead of a simple ...
Venkatesh Laguduva's user avatar
595 votes
15 answers
580k views

Validate a username and password against Active Directory?

How can I validate a username and password against Active Directory? I simply want to check if a username and password are correct.
user avatar
569 votes
8 answers
446k views

What is token-based authentication?

I want to understand what token-based authentication means. I searched the internet but couldn't find anything understandable.
csharpbaby's user avatar
  • 6,165
510 votes
2 answers
414k views

How to implement REST token-based authentication with JAX-RS and Jersey

I'm looking for a way to enable token-based authentication in Jersey. I am trying not to use any particular framework. Is that possible? My plan is: A user signs up for my web service, my web service ...
DevOps85's user avatar
  • 6,513
489 votes
35 answers
776k views

Clone A Private Repository (Github)

I have a private repository on Github for a project I'm working on. Until now I had only worked on my home desktop, but I just bought a laptop, and am trying to set it up so that I can work on the ...
Solomon's user avatar
  • 6,773

15 30 50 per page
1
2 3 4 5
5074