Slow response in browser-authorization process #54
-
Hello I work on developing the FutureOn connector to iTwin used by Shell for their Bentley Plantsight projects. I have upgraded my application to use the browser-authorization module for user sign-in. The following problems are occuring:
The code I am using is below.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 19 replies
-
Hello, There's a chance this is related to a change made on the IMS backend. I'll take a look at let you know if there's a fix we can make on our end. |
Beta Was this translation helpful? Give feedback.
-
I'm not able to reproduce on a test viewer application. Are there any failed or slow network calls? Specifically to |
Beta Was this translation helpful? Give feedback.
-
Hm.. I do see these issues in my browser, yet I am not experiencing the slow responses you are seeing. If you check the network tab in chrome devtools, is there a certain request or requests that are taking the 10 seconds? I have a few ideas for trying to narrow down the issue:
|
Beta Was this translation helpful? Give feedback.
You are probably just missing the
token_type
which is justBearer
The access token we expect to be used with iTwin Platform will be
${user.token_type} ${user.access_token}