las2peer icon indicating copy to clipboard operation
las2peer copied to clipboard

[BUG] Authorization header not set correctly

Open lakhoune opened this issue 3 years ago • 0 comments

When looking through the source code of the las2peer node fronten, I stumbled upon the following line

            'Basic ' + btoa(prefixedIdentifier + ':' + credentials.oidcSub),

when setting the Authorization header when logging in (see here ) Isnt this wrong? The way I see it the authorization Header would have the form

 'Basic ' + btoa('OIDC_SUB'+<your sub>+':'+<your sub>),

but shouldn't it be:

 'Basic ' + btoa(<your username>+':'+<your sub>),

@AlexanderNeumann

lakhoune avatar Feb 01 '22 16:02 lakhoune