Questions tagged [oauth]

OAuth (Open Authorization) is a specification for client applications to access protected resources on behalf of a user. It was developed as an alternative to users handing out their login credentials to third-party applications.

Description

OAuth is an open standard for authorization. OAuth provides client applications a 'secure delegated access' to server resources on behalf of a resource owner. It specifies a process for resource owners to authorize third-party access to their server resources without sharing their credentials. Designed specifically to work with Hypertext Transfer Protocol (HTTP), OAuth essentially allows access tokens to be issued to third-party clients by an authorization server, with the approval of the resource owner, or end-user. The client then uses the access token to access the protected resources hosted by the resource server. OAuth is commonly used as a way for web surfers to log into third party web sites using their Google, Facebook or Twitter passwords, without worrying about their access credentials being compromised.

OAuth is a service that is complementary to, and therefore distinct from, OpenID. OAuth is also distinct from OATH, which is a reference architecture for authentication, not a standard.

Resources

20112 questions
6
votes
0 answers

SPA + API Server + 3rd Party OAuth Authentication

Say we have SPA, OAuth service(Google or FB or Linked in) and an App server(our API) which servers the SPA to client. Our SPA authenticates from client side with OAuth against 3rd party, say google or linked or FB, the method to use is said to be…
Evren Bingøl
  • 1,306
  • 1
  • 20
  • 32
6
votes
0 answers

aws cognito custom scopes missing in an access-token

I've set up my aws cognito user pool with Authorization code grant flow and configured it to include custom scopes as well, but in the access tokens generated, these custom scopes are missing. Appreciate any help on this issue. Thanks!
MesfinMoges
  • 128
  • 1
  • 1
  • 10
6
votes
1 answer

Not returning refresh token from auth code

I'm using googleapis package from node to get refresh token and access token from auth code passed from front-end but every time I get the following error. { error: 'redirect_uri_mismatch', error_description: 'Bad Request' …
6
votes
1 answer

Understanding oAuth with Perl

i have a problem making simple API request to the Yammer (https://www.yammer.com/api_doc.html). I need to get https://www.yammer.com/api/v1/groups.xml (Groups: A list of groups). I'm trying to use Net::OAuth::Simple. Here is my Yammer.pm: package…
gangabass
  • 10,607
  • 2
  • 23
  • 35
6
votes
2 answers

Laravel Passport invalid refresh token - token is not linked to client

I'm using Passport on Laravel 5.5, receiving error when trying to refresh access token - only on production server - local dev environment works fine! This is the error returned: { "error": "invalid_request", "message": "The refresh token is…
jeremyj11
  • 589
  • 1
  • 5
  • 15
6
votes
0 answers

Obtaining OAuth token with Basic Authentication

Background I have a Spring application with OAuth2 security. I can easily obtain an OAuth Bearer token with the following request: POST…
6
votes
4 answers

DocuSign JWT Authentication: Unexpected PEM type

I can't authenticate with DocuSign's OAuth JWT because of the error Unexpected PEM Type. I'm using their Nuget package 2.2.0. If I change to 2.1.10 and tweak my code slightly I get this error Error calling Login: { "errorCode":…
Zach L
  • 1,277
  • 4
  • 18
  • 37
6
votes
2 answers

What if authorization code in Oauth is leaked

As soon as I log in successfully to the authentication server, the server redirects back to the application with an authorization code. And then this authorization code is used to get the access token in the backend. My doubt is if somebody has…
6
votes
2 answers

AADSTS70007: 'query' is not a supported value of 'response_mode' when requesting a token

So I created an application in Azure AD a few days ago. When requesting authorization code, I am getting the following error back when I ask for both code and id_token (in response_type parameter): AADSTS70007: 'query' is not a supported value of…
Gaurav Mantri
  • 128,066
  • 12
  • 206
  • 241
6
votes
1 answer

Is is safe to store access token in session storage of client browser?

I am using Token based authentication in web API to authenticate a user.I am using clients browser session storage to store access token.Is it safe to do so? Where should i store it make it safer. $('#btnLogin').click(function () { $.ajax({ …
user9709239
6
votes
3 answers

Netsuite OAuth Not Working

I've tried implementing Netsuite's OAuth Example, as illustrated here: https://netsuite.custhelp.com/app/answers/detail/a_id/42165. I've posted it directly below so you don't have to go to the page if you don't want. Unfortunately, it's not…
M. Pope
  • 411
  • 6
  • 16
6
votes
1 answer

OAuth2 callback launches activity inside the browser on some devices

I've implemented OAuth2 for Coinbase inside an Android app. The app flow is as follows. A user clicks on a "link with Coinbase" button, the call to the OAuth2 endpoint https://www.coinbase.com/oauth/authorize is made. Then the system browser opens…
Roper
  • 903
  • 1
  • 9
  • 17
6
votes
2 answers

Looking for Oauth Yahoo sample C#

I know threre a lot of libraries dotnetopenauth,oauthbase, etc. But i need sample of using with yahoo. Samples,which i find did not work for me.Maybe you have example.Please share :-) I find bug OauthBase work fine for me :-)
John
  • 864
  • 1
  • 11
  • 26
6
votes
1 answer

Netlify CMS, Gatsby and GitHub authentication without Netlify

Did anyone has luck using OAUTH to authenticate to GB from Netlify CMS but NOT using the Netlify API? If so, what did you use? I want do the authentication with my domain but Im not sure which API or package Should I use for this. Im learning. Any…
Peter
  • 2,004
  • 2
  • 24
  • 57
6
votes
2 answers

Google SignIn - "access_token" vs "id_token" vs "code"

In our website we used to use access_token when logging people with Google Sign In. First, we redirect the user to google, user brings the access_token to us, and we validate that token to make sure the user is the actual Google user. Then, we…
Burak Yavuzalp
  • 199
  • 1
  • 2
  • 10