Questions tagged as 'oauth2'

3
answers

Authenticate (LOGIN) with Google Security System

I develop an ASP.NET WebForms application and I need that if the user has authenticated in the browser with a Google account he can access the page otherwise.     
asked by 17.06.2016 / 17:56
1
answer

Get access_token from an API with OAuth 2.0 from Android

Good morning. I come with a doubt, it turns out that my application has to communicate with a WS to obtain the access_token and thus be able to use the methods of this. The WS uses OAuth 2.0 and the administrator passed the queries to the WS in...
asked by 20.08.2016 / 01:41
1
answer

Spring boot security http basic with oauth2 resource server

I am trying to configure a spring boot web application to use the basic http security which will be used for the web pages, and additional I need to implement OAuth2 security for an android application to connect. The problem I have is that t...
asked by 06.06.2018 / 02:44
1
answer

Authorize SPA client using client credential grant token and personal access token - Laravel Passport

First I will put them in context. I am developing a Rest API using laravel and as authorization method oauth2 using Laravel Passport implementation. On the other hand I am developing a Javascript client (Single Page Application or SPA) tha...
asked by 07.05.2018 / 23:07
1
answer

What is the difference between JWT and Oauth 2.0 for the authentication of requests to an Api REST? [closed]

I want to implement the authentication of the requests to my REST API that will be consumed from a mobile application. I still have not decided on JWT or Oauth 2.0, which they recommend me.     
asked by 03.03.2017 / 00:58
0
answers

How to use OAuth2 to validate users in a PHP REST API

I would like to know since I made a REST API in PHP and I only need the login part, I have listened to OAuth2 but I do not really know how to use it or implement it in PHP so that each time I make a request I validate this user     
asked by 27.01.2017 / 16:12
0
answers

Android query ws not authorized. OAuth 2.0

Good morning. I have to make a query to a WS to return an access_token, this WS has OAuth 2.0 security, I need to pass a client_id and client_secret, otherwise it returns 'unauthorized'. This is the cURL: curl -X POST -vu <client_id>:<...
asked by 20.08.2016 / 21:52
0
answers

I do not load Google Oauth2 in my webservice

Good I have this problem:    Serious: 2016-07-11 17: 47: 32.034: INFO :: Logging to STDERR via   org.mortbay.log.StdErrLog Grave: 2016-07-11   17: 47: 32.036: INFO :: jetty-6.1.26 Grave: 2016-07-11   17: 47: 32.075: INFO :: Started SocketConn...
asked by 11.07.2016 / 18:00
0
answers

Error trying to read a field android.accounts.Account.name [closed]

Mark nullpointerexception when trying to read a string on a null object, the field is android.accounts.Account.name , which I do not implement, but maybe the Google API to connect through Google+ may be doing by getting the User name   ...
asked by 11.11.2016 / 00:29
1
answer

GoogleUser is not defined - How to solve it?

Hello, I am using google Oauth2 for login and I do not throw anything, I put everything as indicated in your documentation but nothing, run by googleUser console and say that (is not defined) <script> function onSignIn() { /*var...
asked by 01.12.2018 / 05:58