Newest oauth Questions

Q&A for professional and enthusiast programmers

Spring Swagger Codegen Maven Plugin oAuth2 Client Example

I am bit new to Spring and Java, can someone please an provide example to call an API which takes OAuth access token with ApiClient which is auto-generated using swagger plugin? By providing client id,...

Magento 2.1 Oauth 1 for REST Integration

I am trying to use this code magento.php but I am getting the error like this- OAuth\Common\Http\Exception\TokenResponseException: file_get_contents(http://store_name/oauth/initiate): failed to open ...

Send user details to controller in passport authenticate using google-oauth2

I have created a google user session using passport oauth, using the following routes: nodeApp.get('/api/google', googlepassport.authenticate('google', { session: true,scope: ['profile', 'email'] }) ...

Error when use require in Meteor JS

when i use any package in my App for example (meteor add outatime:jwt-simple ) i tried var jwt = Meteor.require('jwt-simple'). In console have error Error in OAuth Server: Meteor.require is not a ...

Why is Microsoft Oauth2 API changing the scope of authorization requests?

I'm creating an application which needs to request user authorization from a Microsoft Work account. And stumbled into this twice. At first, I just wanted to read the user e-mail, so I requested the ...

Why authentication URL is not needed in other Oauth 2.0 grant type than authorization code?

I have good knowledge of all Oauth grant type including use case but i have a question, i have seen many examples of authorization code so if i talk part step of authorization code grant type where ...

Error at “The PHP exention OAuth 1.2.3 must be installed”

I using PHP sample SDK for integrate QUICK book payment API. But I am getting error: The PHP exention OAuth 1.2.3 must be installed But I am already installed OAuth.dll in WAMP extension folder ...

python requests library for posting to JIRA fails on oauth

I am trying to post to JIRA using requests library in python with the following code : #!/usr/bin/python import requests from requests_oauthlib import OAuth1 key_cert_data = None key_cert = "../...

C# OAuth batch multipart content response, how to get all the contents not as string objects

I'm receiving a multipart content response that belongs to an OAuth batch request: // batchRequest is a HttpRequestMessage, http is an HttpClient HttpResponseMessage response = await http.SendAsync(...

auth0 multiple clients architecture

I use auth0 as my auth2 provider. Let's assume I have 4 web application under the same company. Do I have to authorize the user with auth0 from each web server, or to build one server that is used as ...

Google API using Oauth for internal company use only

I've created a web application using Node.js that relies on a google API (specifically the DCM/DFA reporting API). It redirects the user to login to their gmail account, and after a successful login ...

Laravel Passport oauth/authorize returns basic auth

I try to create oauth2 server on Laravel Passport and test it from third-party application. Oauth server use Laravel, and client use Yii framework. I am unable to modify the client front end and I ...

How can I generate a link to the original tweet object using twitter search api?

I'm getting results back from the twitter search/tweets api. The problem is I'm trying to recreate a link back to the original tweet...which usually is in the form of: http://twitter.com/{user....

Facebook oauth authentication in java only returns username and id

I am trying to fetch user details and oauth authenticate user through facebook api's and java and able to authenticate and redirect to my home page but the facebook api's are not returning details ...

Application only authentication tweepy

I want to use application only authentication with tweepy. The documentation seems to cover user authentication. How can I request the application access key: auth = tweepy.OAuthHandler(args['...

Yelp authentication in http headers

I'm simply trying to search for business location using the yelp api (https://www.yelp.com/developers/documentation/v2/authentication). However, I am unable to authenticate with their service despite ...

OAuthSwift (1) connection

I'm trying to create a client (in a private pod) to connect to garmin API (OAuth1) and i've some problem to do it. I'm using OAuthSwift and OAuthSwiftAlamofire First i'm trying to get all the ...

Get email of authorized_user from GoogleCredential.

I am an authorized user for a Google Cloud account. I have created credentials on my local machine using: gcloud beta auth application-default login The stored some credentials on my account. I am ...

Is it safe to let a user request multiple access_tokens?

I'm writing a web API and using token authentication to let users get information, I'm currently using Owin's OauthServerProvider to get the tokens withe their respective expiration times, but I haven'...

Is MS Azure Active Directory account mandatory to implement oauth for office 365?

To access office 365 mails using Oauth, do I need Azure account? Can't I use normal office 365 or exchange server account to create the application?

How to get and use oauth refresh token on java client without using client-secret

I am currently writing a java program which uses some other API via oauth2. Currently i am hosting a local server with spark which has the whole program gui and the link to the oauth authorize page ...

WebView not passing OAuth Access Token onResume of Main Activity

My app opens a webview outside the app using this code intent = new Intent(Intent.ACTION_VIEW, Uri.parse(AuthorizeUri.toString())); The URL passed is https://github.com/login/oauth/...

Share machine key between two web applications

I have two questions related with using of machine key IIS. I've generated machine key using IIS and applied it to both my web applications. The first web application (oauth provider) grants access ...

Laravel middleware for oAuth in REST API

I am making REST API with Laravel 5.3 and I need to make social logins with Google and Facebook. I need to create middleware for that, but I have a problem: I can not find a way to retrieve a user. ...

Facing OAuth 1.2.3 dll issue

PHP V 5.4.3 Env:- Windows 7 I am trying to integrate QuickBook API but facing issue with DLL Library of OAuth. Fatal Error : "The PHP Extension OAuth 1.2.3 must be installed to use this library."...

Rails Doorkeeper+Devise: Login client application also make user log into Oauth server

I have two Rails web applications. One is an api who could provide data to client applications. In this application, I have used Devise + Doorkeeper to control users login/signup etc and let client ...

redirect issues with accessing website on node-express server from another computer

I have a simple website that consume some APIs. This site runs on a node-express server that's hosted on my PC. Currently on the website I send a xmlhttp request to some API, and receive a 303 ...

How to add OAuth to an Android app to search tweets

I am a relative newbie to android programming and I am working on an app to search for tweets based on the user's input. I have a program that currently works on APIv1. I have the Consumer Key, ...

OAuthSwift - User is taken to Safari (App Store app rejected) [on hold]

I created a dribbble client. I handle the login with OAuthSwift. My app is rejected 2 times: From Apple 4. DESIGN: PREAMBLE Design Preamble We noticed that the user is taken to ...

Azure API Management OAuth 2.0 Resource Owner Password Flow Client ID

Context: My software application is a multi-tenant application that customers can log into and generate their own clientIDs to use with a resource owner password flow OAuth Request. Our OAuth 2.0 ...

Facebook Oauth Login

I'm developing a site on the LAMP stack. I'm using the Facebook SDK for PHP. Everything works but when the user is prompted to login, they are presented with lots of options to do other things. ...

Podio Oauth - refresh token lifespan

I am currently working on Podio integration and I have stumbled upon articles which do not give clear answer whether refresh_token expire on its own and what is the exact flow of obtaining new refresh ...

How to create custom app in OneLogin and enable OAuth2.0 based SSO? [closed]

Our application supports OAuth2.0 authentication, would like enable to access from OneLogin for our customers. Any help on setting up would be great...

IdentityServer: Authorize calling client in action method of resource server

I was wondering if someone would have suggestions for my specific use case. I'll try to explain it with my scenario as example, if that's okay. I've got a viewer that is registered as a client (using ...

Spring MVC OAuth2 Login with Java Annotation (without XML and without Spring Boot)

The Spring (Security) world is new for me. But I have just simple use case - to login with OAuth2. The authentication server is some where far away. I have: serverAuthorizationUrl = far.away.com/...

Can I use oauth2 without having ui?

Basicly if I know the person's username and password is there a way to pass them without needing for him to enter them? I have a webservice with no UI and want to use the Outlook REST API which uses ...

CURL request for token on R OAuth 1 on Rest API service

I have been trying to hit a paid for API for a while now. I first need to authorize my token/session and then hit the API. I have had no help as R is not supported by the service provider. This CURL ...

where can I register my app to use oauth with ews-api?

I can not find "office 365 exchange online" on add application in Azure Active Directory when register a new application to use oauth. And only find Microsoft Graph Permissions on the new Application ...

getUser return EDAMSystemException errorCode=8

I'm trying to get my account information by evernote api on python, however, I got errors : Traceback (most recent call last): File "", line 1, in File "build/bdist.linux-x86_64/egg/...

How to get OAuth2 work with Google and the Play Framework using Java

I am trying to get my Play application use Google authentication via OAuth2. My goal is once the user logs into Google, they will be able to access my Play application. As of now, my application ...

Extending Rancher's Auth-service to use other (OAuth) provider

Our team is currently looking to use Rancher for a Docker container orchestration solution, and one the things I'm looking to do is try setting up Access Control on the Rancher server using a provider ...

Set up Concourse 2.6 with Bosh and Github authentication

I'm attempting to set up Concourse (previously I used 1.4.1, but that wasn't working, so I'm trying the latest version, 2.6) with Github authentication. I'm following the instructions exactly to do a ...

OAUTH2 token validation

Does spring-oauth2 provide any way to authenticate the token? I have a spring-oauth2 custom implementation. Now in other application, I need to validate whether the token I am passing is valid or not ...

OAuth flow when user is already logged in to the Oauth Provider

So, a basic OAuth2 flow using authorization grant type would normally go as follows, (assume OAuth Client=Quora, OAuth Server=Google, for eg. purposes): User goes to Client, is redirected to Server ...

Reading HATEOAS with Spring Traverson throws Exception

I am trying to integrate with an external System and trying to write a service to GetResources. The external System resource is OAuth2 protected. This is the data that I want to read { "_embedded":...

Could not find plugin Stormpath SDK JsonNetSerializer

I'm facing an issue with StormPath when trying to get my application. I am developing in .NET Framework. I can clearly see in my NuGet packages that Stormpath.SDK.JsonNetSerializer has been installed ...

Using saml tokens in Azure AAD oauth authentication

I have an application that authenticates users agains Azure AD using OAuth and I want to provide the ability to setup certain information associated to each user by his admin in Azure AD, so I can ...

OAuth2: Error 401 Unauthorized at PHP request with access_token (Discord API)

I'm currently trying to receive the user's Discord information over PHP after the user authorized the log-in via his Discord account. The authorization and authentification already work, so the ...

Nativescript {N} oAuth plugin - Retrieve User Facebook Data

Context I'm attempting to create an Android app with Nativecript using JavaScript. On the first page, it asks the user to connect with Facebook, and I intend to verify whether or not an account ...

How to Connect Standalone Stripe account to platform after user authorizes access

When connecting a Stand alone account to a platform in Stripe Connect, there is one more small step to be taken after the user authorizes access. Stripe offeres this code example: curl https://...
Translating... 0%