Questions tagged [oauth-2.0]

0

votes
0

answer
2

Views

How can you retrieve an Instagram account's community insights with the instagram API?

I have an Instagram influencer platform and I want to build a 'signup with Instagram' feature that allows me to get the community insights data from an influencer's business profile on Instagram. Is it possible and how to achieve that ? Thanks a lot
Nicolas Vrillac
0

votes
0

answer
4

Views

Xamarin + Facebook => something went wrong

I have a Xamarin application and after 2 weeks of inactivity I get back to my application, and when I try to log in with facebook I got the following error message : 'Sorry, something went wrong. We are working on it and we'll get it fixed as soon as we can.' Here is the code I use... OAuth2Authent...
ClubberLang
0

votes
0

answer
3

Views

Completing the OAuth2 flow for Sign In with LinkedIn entirely from the client side

With LinkedIn's planned deprecation of their JS SDK, is there any way to complete the OAuth2 flow and obtain an access token from the client-side, without using a server-side proxy to exchange the auth code for the token? According to this SO post, LinkedIn does not allow for an implicit grant flow....
Bobby Nicholas
0

votes
0

answer
2

Views

Google API Web Client Oauth 2 redirect uri for aws ec2 uri

I have developed a google analytics management app using google API's and oauth2. I could add localhots:8001 successfully in redirect URI. Now I have deployed my app in aws ec2 instance. I need to add my aws ec2 instance domain name as redirect uri. It is not taking my ec2 domain name. It says domai...
Codengine
0

votes
0

answer
2

Views

Implement OAuth2 authentication with customer's IdP

I have WebForms application. Users are able to connect using login/password and using standard OWIN providers (Facebook, Twitter, ...). But now I have request to implement another way - OAuth2 - with existing customer's server. How to do it the simplest way? Let's say we have a new Application with...
Raptor
0

votes
0

answer
5

Views

How to use OAuth 2 (Facebook login) to replace password for game login Mysql

I'm working on my browser game where the user logs in to the game with a username and password form. On submitting the form, the game server checks the entered password against the one in mySQL for that username. If the password is correct, the server considers the connection authenticated, and load...
Stan Tatarnykov
0

votes
0

answer
4

Views

.Net Core 2.2 External Login - Can't get Claim as Gender,Name

I'm trying to get user claim as gender so looking the official documentation this is my code: Startup: services.AddAuthentication().AddGoogle(googleOptions => { googleOptions.ClientId = Configuration['Authentication:Google:ClientId']; googleOptions.ClientSecret = Configuration['Authentication:Google...
Paolo Porcellato
0

votes
0

answer
4

Views

ADFS 2016 - refresh token doesn't last long for Web API application

My SaaS application integrates with MS Dynamics CRM on-premise. Access to CRM is controlled by ADFS 2016. After authentication I want the application to be able to maintain access tokens and refresh them for a long period of time because application admins are not supposed to interact with applicati...
Kiryl Mayorchyk
0

votes
1

answer
14

Views

How to GET to LinkedIn API?

I am trying to retrieve user info from LinkedIn API, calling api.linkedin.com/me and sending token within axios. But I am getting 404 error - https://gyazo.com/b08b3eba1cbfd5809ede994b1af67fb5 I am able to get an access token from their API, but I stuck on getting user info Here is a piece after I g...
Rostyslav Skyba
0

votes
0

answer
0

Views

How I can fill ?#{principal} in Spring query method tests when I use OAuth2 security

I enabled oauth2 security and I used ?#{principal} in query methods like this: @Query('select points from Points points where points.user.login = ?#{principal} order by points.date desc') Page findByUserIsCurrentUser(Pageable pageable); It works perfectly, but in tests, it throws the null pointer ex...
GLinBoy
0

votes
0

answer
5

Views

API Connect - One API with Both Basic and oAuth Authentication Security Definitions

We have a single API X which needs to be available both internally and externally to the company. Is it possible to allow basic authentication to X using only a Client Id for internal consumers but require oAuth authentication to X using a Client Id and Auth Token for external consumers? Preferrab...
C. Suttle
0

votes
0

answer
2

Views

Okta OpenID Auth for Users' Server-side Applications

I have an Okta account which performs Auth using OpenID and OAuth 2.0. There is a single web application users can login to and Auth is verified on my API using the id_token and access_token generated by the Okta Sign-in widget (web application). My users will need to also perform API requests direc...
webish
0

votes
0

answer
4

Views

AuthorizationCodeProvider: Create is never called, how do I generate the authorization code?

I'm setting up my own OAuth2 server. So far, I have succesfully implemented GrantResourceOwnerCredentials in my implementation of OAuthAuthorizationServerProvider. Now, because I am developing an app for our business, I want to implement the OAuth2 Authorization Code grant. I have tried to follow d...
Diana Koenraadt
0

votes
0

answer
18

Views

How to integrate Social Login with existing .Net core Web API backend and Angular SPA frontend with working OpenIddict user/password and bearer token

TL;DR Question: how to implement social login (OAuth2 authorization flow) with an existing SPA/Web API application that is based on identity, user/password, bearer token authentication? I have an existing application that has: Backend: .Net Core 2 Web API with Identity and OpenIddict services config...
Fernando Ribeiro
0

votes
0

answer
6

Views

Not able to retrieve form data from jetty post request

I am trying to add Azure AD authentication support to an existing jetty application. I am redirected to my application post authentication with Azure AD and the request looks like this Dump of my request object looks like [email protected][ _async=org.eclipse.jetty.server.A...
banjara
-1

votes
1

answer
299

Views

Spring security oauth2 always returning 403

I have a Spring boot app serving Rest endpoints which I'm securing using Spring security and Oauth2. I want to secure all my endpoints except the endpoints used to authenticate, to create an account or some info stuff. The security configuration is like this : @Configuration @EnableAuthorizationSer...
Monta
-1

votes
1

answer
52

Views

How do you use a non-password grant type in Spring Security Oauth2?

I see that Spring Security Oauth2 has different grant types: https://projects.spring.io/spring-security-oauth/docs/oauth2.html#grant-types How do you use a grant type that is not password? I currently have password based authentication working. $ curl -u client:123456 http://localhost:8080/oauth/to...
Chloe
-1

votes
2

answer
79

Views

OAuth2 authorization

I'm really new on this site. The question is: I need to write an oAuth2 authorization server which will work in such flow - 1) ABC.com has 500 users. A user tries to authenticate on ABC.com. ABC.com redirects the user to authorization server where he fills the login form. The user logs in and is red...
Ironman
-1

votes
1

answer
431

Views

Unable to get JSON response from cURL

When I am hitting the URL https://api.instagram.com/oauth/authorize/?client_id=&redirect_uri=http://localhost/Instagram_flow/result.php&response_type=code&scope=basic+comments+relationships+likes in browser I get the response as: {'code': 400, 'error_type': 'OAuthException', 'error_message': 'You m...
MindMingle
-1

votes
2

answer
518

Views

Sending an OAuth 2.0 POST request with custom headers + attribute values using C# for Inoreader

I'm trying to perform user authentication via OAuth 2.0 for a UWP C# Inoreader app I'm working on. Documentation on steps to follow can be found here: https://www.inoreader.com/developers/oauth. I've no idea on how to code this part: Obtaining access and refresh tokens Get the AUTHORIZATION_CODE an...
Bredcrumbs
-1

votes
1

answer
39

Views

Spring Security Oauth2 Authentication for Javascript WebApp

I'm currently developing a React WebApp with a Spring Boot REST API in the backend. I want to use OAuth2 to secure the API (and to improve my knowledge). I have however some questions regarding the correct authentication flow to use. Since the frontend is using JavaScript I should not use flows that...
JohnnyKonfetti
-2

votes
1

answer
2.3k

Views

Google App Engine and Service Accounts

I went went trough the service accounts for accessing api's of Google. Initially there is no option for appengine to use service accounts. No I found this URL which says we can do the same. https://developers.google.com/api-client-library/python/platforms/google_app_engine#ServiceAccounts I tried o...
sandeep koduri
-2

votes
1

answer
48

Views

authenticationmanager.getexternallogininfo() returns null always with linkedin

I have used Oauth2 in my MVC project. We can coneect successfully with our app with credentials but after authenticate user return always null in external login call back method. Checked many solutions but no luck but other login is working fine like Facebook. For this integration i have used Micros...
Manish Sharma