Questions tagged [userinfo]

151 questions
5
votes
2 answers

Collect system and environment information

On application crashes, we are looking into the best way to collect user/environment and crash information so we can have it emailed to us. Are there any libraries (open-source or commercial) which do this well? Our application is a desktop…
Liron
  • 2,012
  • 19
  • 39
5
votes
1 answer

OpenID connect Userinfo endpoint for other user than current loggend in user

The following scenario: You have sensitive and protected user infos (name, mail adress, telephone number, adress) securily saved in an authorization server (e.g. IdentityServer4). You have an API loading data from a second database storing your own…
monty
  • 7,888
  • 16
  • 63
  • 100
5
votes
2 answers

How to get user profile on Google API using the JAVA library?

I have a Java ClientRequest to the Google API that returns a JSON containing the profile based on an access_token. The URL is: https://www.googleapis.com/oauth2/v1/userinfo?access_token=ya29.1.AADtN_VALuuUTBm8ENfNTz8s... And the response is: { …
4
votes
3 answers

Should id_token contain claims when used during authorization_code flow

After authentication to OAuth2 authorization server that supports OpenID using response_type=code with scope=openid email, calling token endpoint should return id_token. What I am missing is whether this id_token should contain email or not - and…
Kaszaq
  • 997
  • 10
  • 16
4
votes
0 answers

Swift| How To change the sound of Push notification to other system sound?

I'm kind of stuck with this issue. I have a working Push Notification in my app, and i'm trying to let the user to choose his own sound (All sounds are from iPhone built in sounds - kind of 'whatsapp') for a specific push notification. the Payload…
XcodeNOOB
  • 2,135
  • 4
  • 23
  • 29
4
votes
4 answers

extra argument userinfo in call

Get the compile error message from xCode with Swift language: "extra argument userinfo in call". the question is how to use userInfo data from timer to argument "userInfo" in notification center. func…
lotosn
  • 51
  • 4
4
votes
1 answer

android OAuth-2.0 google login for user info using webview

I'm creating app that will allow user to login with facebook or google account. They press button "LOGIN" and then they are asked to login using facebook or google, when they choose one of these the webview pop up. Problem is with google…
Jack
  • 45
  • 2
  • 6
3
votes
1 answer

Google Oauth2 userinfo API not returning user's name data

For the past couple months I have been using this url to retrieve a user's name and info after logging in with OAuth. https://www.googleapis.com/oauth2/v1/userinfo?alt=json This gave me JSON in the following format: { "id": "12345", …
bschweer
  • 61
  • 4
3
votes
1 answer

userInfo by clicking on notification when the app are closed

I'm doing an app that schedules local notifications and saves an userInfo. That's part its ok. But when the app is closed, if a Notification appears and the user clicks, the method is not called and I can't handle userInfo. I saw that there's a new…
Roberto Pinheiro
  • 1,260
  • 13
  • 30
3
votes
2 answers

ADFS 4.0 (2016) OpenID Connect userinfo endpoint returns 401 when provided with access token

Any ideas why this is. I have configured a Server Application and a Web API and an ID Token, Access Token & Refresh token is issued. However calling the userinfo endpoint return a 401 with the following header message: WWW-Authenticate →Bearer…
Kristoffer
  • 31
  • 1
  • 3
3
votes
1 answer

How to parse URL with forward slash in userinfo part

I have a URL of this format: https://clientjiberish:clientsecretjiberish@api.example.com/users?username=tralala when I do: url = 'https://clientjiberish:clientsecretjiberish@api.example.com/users?username=tralala' uri = URI(url) I get all that I…
Marko Ćilimković
  • 734
  • 1
  • 8
  • 22
3
votes
1 answer

Can I get details of users who downloaded my android app?

Is there a way how to get details of users who downloaded my android app from Google Play store? I'd need for example email address, phone number or at least phone id... Thank you.
Michal Hruška
  • 444
  • 2
  • 6
  • 15
3
votes
1 answer

OpenID Connect UserInfo Endpoint Usage

Upon receipt of a valid Access Token, is it considered best practice to invoke a call to the userinfo endpoint, and retrieve user metadata, for each subsequent call to your application, or should the call to userinfo instead be invoked once, and the…
Paul Mooney
  • 1,576
  • 12
  • 28
3
votes
2 answers

Salesforce UserInfo session type in APEX

I would like to know if there is a way to find out in APEX when an particular user is logged in directly or via the "Login As" feature from the organization's user list. The UserInfo class doesn't seem to provide any methods for this purpose and i…
PeterB
  • 31
  • 3
3
votes
3 answers

Get user info after authentication using LINQ to Twitter

I want to retrieve user info after authentication with Twitter. For this purpose I'm using LINQ to Twitter library. It's possible to do with this code: var usersResponse = (from user in context.User where user.Type ==…
Rade Milovic
  • 965
  • 4
  • 13
  • 29
1
2
3
10 11