Newest oauth Questions

Q&A for professional and enthusiast programmers

InvalidConsumerKey response from withings

I'm trying to make a request to the Withings developer API. When I enter my credentials on their guided walkthrough, it works. But when I try using the same in my test I get an invalid consumer key ...

How to Post Comment using GitHub OAuth Token in Angular 2

I'm trying to use GitHub OAuth Token to post comment in Angular 2. My code is postComment(token: string, number: Number, body: string): Promise<Comment> { let headers = new Headers() headers....

how to create link between android and spring for social login authentication

we are building an android app and website (back end server) using spring, we are stuck in social login authentication for both, individually both the logins are working as in we are getting the ...

How to come back to app after hitting the app url scheme in web view

I want to come back after hitting the app scheme as the OAuth process. I have entered the URL scheme in the app like this in the info.plist file <key>CFBundleURLTypes</key> <array&...

Symfony3: OAuth2 Token after form login with FOSUserBundle

i'm using FOSUserBundle for a traditional login form on a Symfony3 project. Few days ago i've also configured FOSRestBundle and FOSOAuthServerBundle so i can serve Rest APIs with OAuth2 authentication....

Azure AD Multi tenant app

I have added a Web Application in the Microsoft Application Registration Portal. I can view this app in old azure portal. When I try to configure this app as multi tenant and set the Sign-on URL and ...

Swagger and OAuth2 configuration flow

I'm working on Spring Boot application which is secured with OAuth2. I was asked to integrate swagger for documentation. And it was quite easy till the moment i need to configure authorization. https:/...

open graph extraction of public data using open graph api

We want to implement social intelligence for employers so they can judge the personality of person. For this purpose we have to extract the data of a specific account of facebook or twitter. Can we ...

Searching for tutorial for securing Restful using Jersy TLS, OAUTH

I am learning Restful Web Service and i am searching for Tutorials which can help me to learn how to build secured Restful using https/TLS ,OAUTH 1,2 and other tools If you could you please recommend ...

OAuth2 native apps - client secret

An API consumer, subscribes to an API on a particular API Portal. He receives client ID and clinet secret. There is a specific quata set for the subscription. [Happy day scenario] He then decides ...

GitHub Enterprise OAuth returning incomplete user data (names missing) for users with accents in their names

I'm building a Rails application that allows users to authenticate with their Github Enterprise account. During this authentication step (using omniauth-github) I pick up some additional information ...

OAuth and DocuSign connect

After completing the DocuSign's OAuth flow with my Docusign App I would like to add a webhook to the user's account using the Connect APIs. What I managed to achieve so far is complete the OAuth flow,...

OAuth via ASP.NET mvc identity doesnt work [on hold]

I am using Facebook, Vk, Google OAUTH. When i was testing my code on localhost, it was fine, but when i was deploying my site on server, nothing work out of services. I tried everything, nothing ...

ADAL page fails to load on UWP within corporate network when using ADFS

We are developing a cross-platform mobile app using Xamarin.Forms that uses Azure Active Directory Authentication. For that case we use Microsoft.IdentityModel.Clients.ActiveDirectory nuget. It works ...

Oauth with Github API - Returns code 400 Python

I am trying to authenticate using Web Application Flow docs on Github API. I was successful in getting the code from the Github API (I see it in the URL query parameters), but somehow it returns ...

How can I retrieve YouTube channel list with OAuth 2.0 in Android app? [on hold]

I am struggling for retrieving YouTube channel list with OAuth 2.0 in android app. I have the access token and client id. I need the dynamic URL request system and data retrieving code samples for ...

gSpread + Oauth fails because of SignedJwtAssertionCredentials being removed from oauth2client?

I am working on a raspberry pi 3 model B but think this as more of a python question so posting here instead of the raspberrypi.stackexchange.com site. I am working on setting up the ...

Mobile client with Restfull server + SQL database authentication [on hold]

Im developing a system which a android client send and receive data from a mysql database (connected to a java restfull webservice). To do the authentication method, i dont want to send id&pass ...

Get product details in JSON format using REST API

How to get the product details in JSON format using REST API in Magento2? When I search I found the following code. $url = 'magentohost url'; $callbackUrl = $url . "oauth_admin.php"; $...

Android Auth Error: “GetToken failed with status code: INVALID_AUDIENCE”

There are a couple of questions about this vague error code already, but none have solved this issue for me, so I'll try again. First, here is the boilerplate code for signing in. ...

Ionic Cloud and Instagram OAuth

I am using Ionic Cloud to login with Instagram, this.auth.login('instagram').then(result: {signup: boolean, token: string} => { }); But when I call the API with access_token parameter being the ...

collections/entries/curate json body request

I am using this twitter client and I want to use this api but as I can see here there is no support to send json body request like this. I don't want to use another client just for this one call and I ...

OAuth Flow: How to achieve with different domains?

I'm currently building a project that is devided into three different applications on three different domains (servers). The architecture looks like this: Application A (Website, built with Polymer),...

falcon oauth2 example not working

import falcon from .base import auth, application, attach_user class MyResource: def on_get(self, req, resp, **kwargs): resp.body = '{"foo": "bar"}' @auth.protect def on_post(...

Yesod: Handling session data within simple project

I'm looking to authenticate a user using GitHub as an oauth2 endpoint and get some session data. I've got the whole authentication working but I want to be able to get some more useful info from the ...

how to get the access token programatically?

In my web api based project. I am using Token based authentication. public override async Task GrantResourceOwnerCredentials(OAuthGrantResourceOwnerCredentialsContext context) { var ...

How to request from an application (ios or android) using Django-auth-toolkit with Python-social-auth?

I am developing android and ios application. Actually, I am using django-rest-framework-social-oauth2 which include Django-auth-toolkit and Python-social-auth. However, I have a problem here. when I ...

Load Oauth2.0 servers on a existing REST spring server

I'm working on an existing REST api and I want to add some features that should be protected by this Oauth server. I implemented the servers as a tutorial explain: an authorization server, a ...

How to generate OAuth1 HMAC SHA1 signature in swift 3

I'm working on a small swift program to work with Yelp API over OAuth-1. I am looking to generate a HMAC-SHA1 signature. I have the customer key, secret key , token and token secret. From what I ...

Cucumber: visit login_path return error - No route matches [GET] “/oauth/authorize” (ActionController::RoutingError)

I'm working on a new project with some new stuff and don't know if I'm doing anything wrong. I have a Rails 5 app running with docker. I'm trying to do the very Cucumber tests on the app. I am simply ...

VCR recording an external API protected by a temporary access token

I would like to test several end points of an external API that require an access token in order to use them. The problem is that the access token expires after 60 minutes. The only options I can ...

How to change the content-type of a request which will be made by ClientCredentialsResourceDetails?

Right now, I am trying to change the content-type of a request which will be raise by ClientCredentialsResourceDetails (org.springframework.security.oauth2.client.token.grant.client....

Android - Magento OAuth tokens error 500

I'm trying to authenticate and create a customer for a Magento e-commerce in my app, but i'm getting a error while getting a request token (500). I created a "Rest - OAuth Consumers", do i need to ...

Google Drive API GuzzleHttp\Exception\RequestException

Following the instructions for these topics: https://github.com/google/google-api-php-client/issues/788 https://developers.google.com/api-client-library/php/guide/media_upload I tried to fix the ...

How to customize WebApi OAuth token validation?

Context I have a working WebApi2 application, which uses the out of the box bearer token validation, just as was in the original Visual Studio project template. I would like to add a custom data to ...

OAuth v2 Issues with Microsoft Account connection

I have been trying to implement the OAuth v2 for Microsoft Accounts for my website. Its currently in development stage and so am testing on localhost. The Website is an ASP.NET Core MVC 5 Application. ...

Node.js and express - Authenticating through OAuth

For an application I'm developing, it requires a lot of real-time processing so we've decided to go with Nodejs and using Express to build the application over something like Laravel. The issue that ...

Debugging an OAuth client bad response. I'm using PHP, Laravel5.3, PHPLeague OAuth Client and Guzzle

Let me start by thank you for taking the time. I'm a newbie so let me know if you need more information. So I'm trying to setup an OAUTH2 client in Laravel to connect up to an API provided by CLIO. ...

Getting 401 unauthorized error in quickbooks api

using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Net.Http.Headers; using System.Security.Cryptography; using System.Text; using System.Threading....

Unable to get oAuth token for BigCommerce once click app

I am a complete noob to BigCommerce as well as plugins. And recently planned to develop a one click app which could be installed by the users of any store on their store. I have good hand on php. So, ...

LinkedIn: bug reporting

Hi guys @LinkedIn! I have struggled with a bug using your oauth2 authentication. Every time I was trying to "login with LinkedIn" to my site, only via mobile, I would get the authorization server ...

Why does var_dump display data, while return does not

Why does var_dump($info['result']['content']['rendered']); display string(59824) "(then a bunch of html)" but when I do return $info['result']['content']['rendered']; I get a blank page/blank source/...

How to change timestamp and nonce in Requests-OAuthlib?

I am trying to get some data from upwork's api. I am using Requests-OAuthlib .For one API request it works but for second one I get this error: "Duplicate timestamp/nonce combination, possible replay ...

Drone.io OAuth issues with Github

I am currently trying to set up Drone.io with my Github account. I installed the drone.io and that works - I am able to get to the drone.io login page on localhost. The problem begins when I try to ...

FB OAuth failed while log in Meteor Cordova app

I have tried many hours to make it work, but the OAuth still failed while log in. Not sure it's my app or FB setting. The Cordova browser url is: http://155.41.71.227:3000/_oauth/facebook?close&...

How I do, I have OAUTH server, and in SailsJS I got access_token, and I got user info, how to authenticate by this info?

I have OAUTH server here user infomartions and in SailsJS 1. by code, I got access_token, 2. by access_token, I got user info, question is how to authenticate by this info? what is next step !!...

Authorize OAuth 1 with get parameters

I'm trying to connect my application with a RESTful API using oauth 1. I connected successfully a couple of times but when I have to pass parameters thought a GET request I always get a 401. Where ...

How do I fix a 401 Authentication Failed during oauth redirect to client with Spring Cloud Security?

I have an Oauth2 ui-server (client) and an auth-server. The ui-server is the entrypoint into the application. This is my client's application.yml, which is using the Spring Cloud Security @...

Oauth2 additional parameter validation

I have added additional parameter to my authentication which is discipline(Football, Voleyball). xyz@abc.com with discipline FOOTBALL xyz@abc.com with discipline HANDBALL accounts are two different(...

Access Google Analytics backend with OAuth access token

Our application allows our users to connect their user accounts with their Google Analytics accounts, so we can show certain KPIs from within our integration. We are using Google's OAuth ...
Translating... 0%