scopes array & accessTokenExpirationDate are empty in response
dimitris4 opened this issue · comments
Dimitrios Gkiokas commented
Issue
config:
const config = {
issuer: 'https://login.microsoftonline.com/<tenant id>',
clientId: <client id>,
redirectUrl: 'msauth.<bundle id>://auth/',
scopes: ['user.read', 'profile', 'email'],
};
authorize function returns the following response:
refreshToken = 0.AQkAF ... xT2Yag
scopes = [ ]
accessToken = eyJ0eXAi ... ozxOJP
idToken = eyJ0eX ... iuM9
tokenAdditionalParameters = {"expires_in": "4967", "expires_on": "1704303673", "ext_expires_in": "4967", "not_before": "1704298405", "resource": "00000002-0000-0000-c000-000000000000"}
tokenType = Bearer
authorizeAdditionalParameters = {"session_state": "09538fc4-c801-438f-baa1-0c6eb58b87e1"}
accessTokenExpirationDate =
Scopes array and accessTokenExpirationDate are empty. Why?
Environment
Identity Provider: Azure / iOS / Access Tokens
Platform: iOS
React-native Version: 0.72.6
react-native-app-auth
Version: ^7.1.0
Are you using Expo?: No