You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ClientConfigurationError: The cache location provided is not valid. Provided value: sessionStorage. Possible values are: localStorage, sessionStorage.
This error is located at:
in AzureAD (at App.js:36)
in App (at renderApplication.js:35)
in RCTView (at View.js:45)
in View (at AppContainer.js:98)
in RCTView (at View.js:45)
in View (at AppContainer.js:115)
in AppContainer (at renderApplication.js:34)
AuthError
tslib.js:160:8
ClientAuthError
tslib.js:116:19
ClientConfigurationError
Utils.js:165:32
createInvalidCacheLocationConfigError
Utils.js:181:37
UserAgentApplication
AzureAD.js:59:61
MsalAuthProvider
MsalAuthProvider.js:55:36
MsalPopupAuthProvider
MsalPopupAuthProvider.js:41:22
getAuthProvider
@suresh777 Their documentation should be updated
You can change your code like follows
const config = {
auth: {
authority: 'https://login.microsoftonline.com/tfp/<your-tenant-name>.onmicrosoft.com/<your-sign-in-sign-up-policy>',
clientId: '<Application ID for your application>',
redirectUri: '<Optional redirect URI for your application'
},
cache: {
cacheLocation: "sessionStorage" as CacheLocation
storeAuthStateInCookie: true
}
};
Closing this in favor of #95. This should be a good first issue to fix, unless someone can submit a fix for it I will see if I can find some time in the next few weeks. I'll be out of town frequently though so it will be delayed.
ClientConfigurationError: The cache location provided is not valid. Provided value: sessionStorage. Possible values are: localStorage, sessionStorage.
This error is located at:
in AzureAD (at App.js:36)
in App (at renderApplication.js:35)
in RCTView (at View.js:45)
in View (at AppContainer.js:98)
in RCTView (at View.js:45)
in View (at AppContainer.js:115)
in AppContainer (at renderApplication.js:34)
AuthError
tslib.js:160:8
ClientAuthError
tslib.js:116:19
ClientConfigurationError
Utils.js:165:32
createInvalidCacheLocationConfigError
Utils.js:181:37
UserAgentApplication
AzureAD.js:59:61
MsalAuthProvider
MsalAuthProvider.js:55:36
MsalPopupAuthProvider
MsalPopupAuthProvider.js:41:22
getAuthProvider
AzureAD
B2cAuthority.js:17:59
constructClassInstance
Easing.js:125:11
updateClassComponent
iterableToArrayLimit.js:8:21
performUnitOfWork
factoryWithTypeCheckers.js:281:11
workLoop
factoryWithTypeCheckers.js:313:15
renderRoot
performWorkOnRoot
MatrixMath.js:20:19
performWork
deprecatedPropType.js:22:68
performSyncWork
react-is.development.js:217:8
requestWork
react-is.development.js:124:11
scheduleWork
react-is.production.min.js:14:295
scheduleRootUpdate
MatrixMath.js:490:12
render
renderApplication
PickerAndroid.android.js:103:37
run
runApplication
YellowBoxWarning.js:55:46
__callFunction
ReactNativeART.js:382:6
ReactNativeART.js:157:51
__guard
ReactNativeART.js:335:13
callFunctionReturnFlushedQueue
ReactNativeART.js:157:33
callFunctionReturnFlushedQueue
[native code]
The text was updated successfully, but these errors were encountered: