When opening the picker, it keeps spinning, and the following is displayed in the console.
Failed to load resource: the server responded with a status of 401 (Unauthorized)
https://graph.microsoft.com/v1.0/me?%24select=mySite
[OneDriveSDK] calling xhr failure callback, status: 401 Array[1]
OneDrive.js:2
Uncaught Error: [OneDriveSDK Error] missing windowState from picker response
OneDrive.js:2
I tried using the demo picker at https://dev.onedrive.com/sdk/js-v7/js-picker-open.htm - and that doesn't work either!
It seems that ADFS is the root cause. User accounts that use ADFS, doesn't work, but others works like a charm.
Related
I guys, I cannot find a way to fix this problem:
I get a 401 error (unauthorized) when trying to get data from the API on localhost, we are using azure to hold both the API and the website in dev mode.
The strange thing is that my user is getting the correct authorization on ***-app-dev.azurewebsites.net and everything is working fine in there, but the same user is not getting data (and authorization) on localhost:3000.
Do you have some idea on what can be the problem?
I've been trying to create a new application using the Calendar API. Once I set up the API, create the OAuth consent screen, and try to create a new credential, I just get the spinning wheel on that tab... in the Chrome console, I'm seeing a lot of errors (below). I've disabled any ad-blockers, tried to do this using a Guest instance of Chrome, tried MS Edge, and IE 11... all of them give the same result.
Console Errors (snippets):
credentials?highlightClient=617400695149-a43k8sak7l9jelev1er07ksvas25ee7p.apps.googleusercontent.com&clientUpdateTime=2019-02-09T14:47:12.511862Z&project=oauth-personal:1 Refused to display 'https://apikeys.clients6.google.com/static/proxy.html?usegapi=1&jsh=m%3B%2F_%2Fscs%2Fapps-static%2F_%2Fjs%2Fk%3Doz.gapi.en.XJ59ec7s7KY.O%2Fam%3DwQ%2Frt%3Dj%2Fd%3D1%2Frs%3DAGLTcCNs5IgvBOFBg5RBx9jQCiMeE_z9Dg%2Fm%3D__features__#parent=https%3A%2F%2Fconsole.developers.google.com&rpctoken=503889176' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
cloudusersettings-pa.clients6.google.com/v1alpha1/settings/CONSOLE_PINS/keys/CLOUD?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g:1 GET https://cloudusersettings-pa.clients6.google.com/v1alpha1/settings/CONSOLE_PINS/keys/CLOUD?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g 404
m=core,jsmod_apiui:59 ERROR Yb {url: "https://cloudusersettings-pa.clients6.google.com/v…CLOUD?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g", headers: Map(6), status: 404, statusText: "OK", method: "GET", …}
cloudusersettings-pa.clients6.google.com/v1alpha1/settings/CONSOLE_NAV_HIDE_PRODUCTS?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g:1 GET https://cloudusersettings-pa.clients6.google.com/v1alpha1/settings/CONSOLE_NAV_HIDE_PRODUCTS?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g 404
cloudusersettings-pa.clients6.google.com/v1alpha1/settings/PAN_NOTIFICATION_BELL_LAST_OPENED?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g:1 GET https://cloudusersettings-pa.clients6.google.com/v1alpha1/settings/PAN_NOTIFICATION_BELL_LAST_OPENED?key=AIzaSyCI-zsRP85UVOi0DjtiCwWBwQ1djDy741g 404
I have a windows service which hits Okta Event Api
http://developer.okta.com/docs/api/resources/events.html
Now I have changed code to hit Okta Log Api
http://developer.okta.com/docs/api/resources/system_log.html
Problem : While Log api Get request works fine from postman tool it gives "Internal Server Error 500" when i run it from Code. The previous Event Api works perfectly fine from code and postman both.
This is what I get in response:
{"errorCode":"E0000009","errorSummary":"Sorry, there's been an error. We aren't sure what caused it, but we've logged this and will work to address it. Please try your request again.","errorId":"7f997bbe-7a31-4431-9f42-ae40db5200ac"}
What could be a possible reason for this?
My app has Facebook Login. It has suddenly stop working. It is always login user as anonymous, so I am not getting any data. How to stop anonymous login for my App.
OAuthException, code: 100, message: (#100) Tried accessing nonexisting field (first_name) on node type (AnonymousUser), x-fb-trace-id: EQfRXtpQzk4 [HTTP 400]
SDK version 5.5.1 GA
This is a Facebook issue and there is an opened bug on their platform:
https://developers.facebook.com/bugs/173424853153369/
Everything worked fine with 1 adapter.
Now I have 2 adapters and when I invoke them I get following errors:
Failed to load resource: the server responded with a status of 401 (Unauthorized) http://10.99.10.54:10080/Klappr/apps/services/api/Klappr/common/query
Request [/Klappr/apps/services/api/Klappr/common/query] worklight.js:1292
response [/Klappr/apps/services/api/Klappr/common/query] success: /*-secure-
{"responseID":"2","statusCode":200,"isSuccessful":true,"statusReason":"OK","WL-Authentication-Success":{"wl_antiXSRFRealm":{"userId":"ddu3aed2bvfmpg3b2spd369d2s","attributes": ...
The response works fine, but everything else in Dojo crashes after the response gets back.
What can I do?
Those errors are normal. You should have been getting them even with 1 adapter. Your dojo problem must be elsewhere.