Skip to content

[BUG] Authorization header not set correctly #128

@lakhoune

Description

@lakhoune

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

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions