Questions tagged [userinfo]

151 questions
0
votes
0 answers

How to check if the logged in user has System admin privileges in Python

I want to check if the current logged on user is part of the 'Administrator' group or not in Python. I have an application for which I need to enable a feature for only System Admins. I do not want to pass the logged in password for the operation.…
0
votes
1 answer

Discord.js V12 Userinfo createdAt / joinedAt undefined

Im new to this and trying learn as i go here but im struggling with this code, im totally confused. iv managed to get everything working (eventually) except from the following issues, .userinfo @randomUser produces all the users details apart…
Evolsurt
  • 31
  • 2
  • 10
0
votes
1 answer

Cannot get UserInfo after authorization via OAuth2, Spring

In configure() I have: ... .oauth2Login() .userInfoEndpoint() .oidcUserService(oidcUserService); My CustomIodcUserService class: @Service public class CustomOidcUserService extends OidcUserService…
Dmytro
  • 139
  • 1
  • 10
0
votes
1 answer

Get user info via Google API for IP address

Is it possible to get information from user's profile via Google API? If it is possible, which API should I use? I'm interesting in such information: Url to the user profile Gender (sex); Profile photo. Ip address wherefrom he/she login I am…
0
votes
2 answers

Fetch facebook user Data

Hey guys I am able to login the user to its facebook account and post a content on his profile. But what i am not able to do is get facebook users information. I dont know where is the access token which if given by facebook for a session. I am…
abhishek
  • 1,434
  • 7
  • 39
  • 71
0
votes
1 answer

How to send user information when using jwt token?

I am developing 'write comment' using angular5 and jwt. When a user writes a comment, it send the comment content to the server along with jwt token. In this case, should the server handle the author information in a jwt token? Or should I pass the…
fly high
  • 215
  • 1
  • 4
  • 18
0
votes
2 answers

Unable to access values of type [AnyHashable:Any] - Swift 4

I am trying to access a particular value from a variable that is of type [AnyHashable: Any] however, I am getting an error while accessing any value. I have browsed the internet regarding this issue, but I did not get any specific solution for it.…
Saurabh
  • 745
  • 1
  • 9
  • 33
0
votes
1 answer

How to get user info in a react app which uses auth0 for authentication

I was trying to get user info from login using twitter in auth0. auth0 provides userInfo api for getting users details, but it is just returning an object with a key sub (like this - {"sub":"twitter|XXXXXXXXX"} ). As per the documentation provided,…
manjs
  • 187
  • 1
  • 16
0
votes
2 answers

not able to get user info

bellow is my node js script to get google user details using accessToken var accessToken = req.body.accessToken; console.log(accessToken) var google = require('googleapis'); //google api var plus =…
dev dev
  • 121
  • 1
  • 2
  • 17
0
votes
2 answers

Get UserInfo from ADFS in UWP with ADAL

I am trying to authenticate the user with ADFS and I am using ADAL. Authetication seems to work since I can get the AccessToken. The problem is that looking at the code authResult contains a UserInfo where all properties (for instance GivenName or…
user2297037
  • 1,167
  • 2
  • 14
  • 34
0
votes
1 answer

Spring calling controller method based on user information

Suppose there are two type of roles in the application - Admin Zonal Manager Admins can get all the office ids while the zonal managers can get only the office assigned under his zone. In the controller I want something like…
dumb_terminal
  • 1,815
  • 1
  • 16
  • 27
0
votes
1 answer

How to access userInfo property in from a Notification?

I have a method when I call the post method of NotificationCenter: func processMessage(message: CocoaMQTTMessage) { Log.d("DestinationTopicHandler: handling message") //message.string: Contains the response of the server …
xhinoda
  • 1,032
  • 1
  • 19
  • 26
0
votes
0 answers

Saving User Information and retrieving it

I've been searching for a while now and not getting what i want specifically. I am creating an app in android studio which does a specific calculation, allows the user to add additional information, save and retrieve it. Here is the idea: The app…
0
votes
1 answer

Identityserver4 return custom values userinfo endpoint

Should IdentityServer4's UserInfo endpoint return all the claims that I have in my ASPNetUserClaims table for a given user or do I need some special configuration to get them? Right now I am only seeing the default values being returned and before…
Gary Bushey
  • 101
  • 7
0
votes
1 answer

userinfo facebook

i like to print user info in facebook fanpage when facebook user logins. is there any any fbml tag by which i can achive that?
msaif
  • 504
  • 1
  • 7
  • 23