Authentication bug?

304
0
09-23-2022 01:57 AM
parmsang
New Contributor II

Hello,

I've created a codepen demonstrating an issue with the IdentityManger we are experiencing, where we register a token and then when adding a layer to the map there are 2 requests made when there should be one. The first request sends an error "Token Required" response followed by a duplicate request that successfully gets the data. The first request is missing the token from the URL despite previously adding the token via the IdentityManger. See image below:

parmsang_0-1663922862872.png

In order to test this bug you will need to add your layer url/token/server info in the codepen where I have added an 'ADD' comment. 

First click the "Register Token" button followed by the "Add to Map" button.

 

 




0 Kudos
0 Replies