Newest 'oauth-2.0' Questions

Q&A for professional and enthusiast programmers

OAuth/OpenID together with existing custom traditional session-cookie-autentication in ASP.NET Core?

I have a WebApi on ASP.NET Core with very simple security-handling that looks something like this: A custom standard Owin middleware sits before the MVC Controller. It checks if there is a cookie ...

Implementing OAuth2.0 Resource Owner Password Grant using JWTs in SpringMVC

I am building an admin portal, front end in ClojureScript and existing backend in Java (Spring MVC). Since it is an admin portal, we assume the user is trusted, hence I wish to apply OAuth2.0 Resource ...

Oauth 2.0 token based sign authenticated user out

I am using oauth 2.0 with Identity framework in a web api application. In my web api I implemented authentication using Token-based authentication and refresh token. I need to sign the user out when ...

Devise/Google OAuth 2: Not found. Authentication passthru

I followed the tutorial in the readme of the omniauth-google-oauth2 gem and when I click the link on my root (@ pages#home), <%= link_to "Sign up with Google", ...

Yahoo OAuth2 have new apps request mail API access

Is there any way to create a new Yahoo Oauth2 app with Mail api access? It seems like this feature has been removed and only available to premium accounts. Going to the 'Create App' link: https://...

Google API:Looking for the code of php classes needed for spredsheet API google installation or to work (cli not allowed)

i looked at the Github downloaded php code for "happy shit" (:p) or API sheet, but the code example seems strange. I'm used to such curl classes and JSON opening, on Facebook and Twitter, but I really ...

Programticly post a text with image on google plus wall/stream

All I want to post a text with an image on Google+ wall/stream using Oauth2 and PHP. Similar to a wall post for Facebook and Tweet post for Twitter. User click on share on Google+ button from my ...

Why and how are social logins using OAuth2.0?

I studied workflow with OAuth2.0 and server-side web application. I understand what is going on, with authorization code and with access tokens. While studying, I encountered sentence saying that ...

SoapUI 5.3.0 shows up - Page couold not be loaded for HTTPS urls

I am new to SOAPUI. Using it to test my RESTAPI . Need to add a OAuth2 token in the authentication header. I do the following steps : i) Click on Get Token ii) In OAuth2 token configuration screen , ...

How to map users from Token Server using OpenId Connect

It seems like no one can answer this question it shouldn't be that difficult I just can't find the proper documentation. How can I map Users From IdentityServer4, which implement Oauth and ...

Bitbucket OAuth2 using Node.js

I want to have a capability in my application that allows users to Authorize Bitbucket. I have followed https://confluence.atlassian.com/bitbucket/oauth-on-bitbucket-cloud-238027431.html. The ...

Post an image on instagram using Oauth2 - PHP

All I want to post an image on the instagram using Oauth2 & PHP pretty similar like wall post for Facebook and Tweet post for Twitter like: User click on share on Instagram button from my website,...

Access Denied Error in Spring Secirity while upgrading from spring boot starter 1.3.5.RELEASE to 1.5.2RELEASE

I'm using the following dependencies. <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-...
+50

Which Google Oauth 2.0 Client ID type choose for cordova hybrid mobile apps?

I am developing cordova based hybrid mobile apps targeted for android and iOS smartphones. Usecase: The application authenticate user and then would be accessing Google Calendar API's, and finally ...

SSO using IdentityServer and Active Directory

We have created an SSO solution using IdentityServer4. Our public/affiliated users are authenticated by an account stored in a database and our corporate/internal users are authenticated using their ...

WEB API - Authenticate with Bearer token

I have created a MVC application for allowing the External authentication/Registration. It has created with all the necessary components (Owin, EF, Regiter, Login ,Logout) and i am able to perform all ...

social Login(Facebook and Google) integration using Reactjs Auth0

I am creating a loan application i need to integrtae with social login facebook and google i created buttons for both facebook and Google how to integrate with auth0 in reactjs <div className="...

Azure AD client credentials flow permission grants

When using Azure AD client credentials flow, should the oauth2 endpoint (of azure ad) produce a bearer token if the client application has NOT been granted permission to access the requested resource? ...

can I use build in browser control(In visual studio item tools) for Auth 2?

You know there is a web browser control in visual basic controls. When we are using Auth2 for get into Google Apps(Gdrive,GPlay...) it opens a webpage in OS default browser(Chrome , Fire fox...) to ...

Zuul-Netflix as an API Gateway - Authorization by OAuth 2.0

I´m developing a series os services and i´m considering using Spring Cloud Zuul as an API Gateway to enforce filters, routing, balancing, authentication and authorization. For authorization we´re ...

Stateless .NET JWT based oauth2 authentication server

First of all excuse my bad english. I'm a newby in oauth2 and I'm trying to setup an authorization server with JWT tokens. The server is running in a Owin self-hosted environment. At this moment I'...

IdentityServer3 using LinkedIn as external login

Trying to use LinkedIn as an external login but I keep having this error. After authorization screen. It goes to /callback instead of the initial application. There is an error determining which ...

Javascript Security Error when returning OAuth2 code

I'm trying to use OAuth2 with a Firefox Webextensions (running on latest developer version) for the Trakt.TV API. I click the extension, OAuth2 vertification of Trakt.TV opens, but when I redirect ...

Best way host own sso Oauth2 service for web / native applications using Spring

I want: central oauth2 server which will hold all user accounts and will provide platform for user account management multiple services which will connect to central oauth2 server to verify user. ...

How to create different type of profile using Google+ API signups

I have a project where there are two types of signups (business/customer) profile. Now I want to use Google+ API to let them signup/signin, and in my database (users_table) I have a flag is_business &...

Implementing Sign in with Twitter using javascript code

I'm using this code : $.ajax({ url: "https://api.twitter.com/oauth/request_token?callback=http%3A%2F%2Flocalhost%3A8080%2Ftwitter%2Findex.html", type: "POST", dataType: "jsonp", ...

what is the settings for django rest framework swagger open api security object definition for oauth2 flow being password?

I am using django, rest_framework and rest_framework_swagger to build an api with docs. How do i select an authentication scheme? Right now i am using oauth2 password based authentication to obtain ...

oath2 - Authorization Code Grant with Flask (accessing bitbucket)?

I'm testing various oath2 workflows and the one I'm strugglink to, is Authorization Code Grant. I can successfully get a token If I copy/paste urls in a straight forward way. I mean request access, ...

Is Oauth2 supported by Microsoft Identity Manager

We have a bunch of websites under re-built and few mobile apps under development. We are looking for a Identity Manager / Server that can be used for authentication and authorisation of the users ...

Extract token from URL

I am trying to implement a secured angular 2 application with Keycloak. As soon as I click the login-button, I want to be redirected to the Keycloak server, where I can specify my credentials. For ...

Generate Personal Access Token to call an Azure Web Api (OAuth)

I have an ASP.NET Web API and I registered a new Application under Azure Active Directory. This is how the ConfigureAuth is in the source code of the Web API. public void ConfigureAuth(IAppBuilder ...

Oauth2 hash token on Auth Server

I'm implementing an Auth server using Spring Security Oauth2. What I noticed is that when spring security saves the access token (using JdbcTokenStore) , the OAuth2AccessToken is serialized as which ...

spring oauth2 server grant by password Access is denied (user is anonymous)

I try to setup a authserver, but when it get token in Advance rest client,it can't grant by password and input basic user and password Access is denied (user is anonymous) 2017-03-23 21:18:56.788[0;...

Wait for Promise to be fullfilled (Javascript)

How does one pause his Javascript function until a Promise (in this case of the OAuth2) has been fullfilled, so that I can get the redirect URL that it should be returning? Using regular JS in a ...

How to secure Rest API using Spring Boot OAuth2

I want to create a sample Spring Boot application with OAuth2 integration which is having a CustomTokenEnhancer and it should expose /oauth/token URL to client without access token but all the other ...

Multi tenant DB single code base [on hold]

I am trying an SaaS application with multi tenancy feature enabled I have successfully completed social media oAuth integration in my MVC application and it works perfectly fine Now I want to enable ...

Google OAuth-orization without a browser

using (var stream = new FileStream("client_secret.json", FileMode.Open, FileAccess.Read)) { string credPath = System.Environment.GetFolderPath( ...

How to refresh linkedin access token within 60 days with out user intervention

I want to refresh linkedin access token with out user intervention i am using oauth 1.0 i am using server side authentication. how do we do this. i also read the linkedin documentation about ...

Asp.Net Core google-signin oauth restrict access and get g-suite roles

I am making a .NET Core application with web views where I need to authenticate users with Google+ sign-in. I followed this ( https://docs.microsoft.com/en-us/aspnet/core/security/authentication/...

Using Google OAuth 2 on embedded Android-based device

We have an application for embedded Android-based device, it uses WebView and inside it we use Google OAuth 2 to login to the app. Unfortunately Google will soon block OAuth 2 inside WebView, and we ...

OAuth2 client password server-side storage

I would like to know current best practices for client password's server-side storage. I'm surprised how it is commonly stored by default in plain-text in some libraries, such as in django-oauth-...

API authentication with oAuth2 and first-party applictions

I apologize if this has been answered, but I have been searching for hours, and still don't quite understand. This is a specific question, and not a "which is best" question. Specific questions are ...

Is it possible to connect to outlook.com via imap4 using microsoft graph?

Im looking into connecting to outlook.com via imap4 using oauth4. I came across the following article https://msdn.microsoft.com/en-ca/library/dn440163.aspx but sadly it seems to be outdated with ...

Webextension OAuth2 returns certification error

I'm trying to use OAuth2 with a Firefox Webextensions (running on latest developer version) for the Trakt.TV API. I click the extension, OAuth2 vertification of Trakt.TV opens, but when I redirect ...

Linkedin iOS SDK for Login Authentication w/ Native Linkedin App

I recently downloaded "Linkedin Groups" and "Linkedin Sales Navigator" on iOS and the login experience was great. When I loaded up the app (Linkedin Groups), the first onboarding screen already knew ...

Authentication Server Implementation with volatile user data

I am trying to implement an authentication server - let's call it "MyLogin". The user should be able, to click on a ServiceProviders page on "Login via MyLogin". The user is redirected to my Service ...

No сlient with requested id

When I try access /oauth/token I got error: o.s.s.o.provider.endpoint.TokenEndpoint : Handling error: NoSuchClientException, No client with requested id: username I got it in next steps: I try ...

Shall I use Embedded webview or External browser or ChromeTab for authorization?

I am developing cordova based hybrid mobile apps targeted for android and iOS smartphones. Usecase: The application authenticate user and then would be accessing Google Calendar API's, and finally ...

Meteor google oauth - error 400

I get an 400 error when I try to do any kind of authorization using oauth. I tried different browsers and different code implementations, but still failed. So I cloned a simple app from Levelup ...

Why can't I install oauth2 client?

getting some strange errors with composer, anyone know what I can do next? I am trying to install oauth2 client on Laravel 5.1 so that I can use it to connect to an affiliate network API. Using ...
Translating... 0%