Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Authorization header not set correctly #128

Open
lakhoune opened this issue Feb 1, 2022 · 0 comments
Open

[BUG] Authorization header not set correctly #128

lakhoune opened this issue Feb 1, 2022 · 0 comments
Assignees
Labels

Comments

@lakhoune
Copy link
Member

lakhoune commented Feb 1, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants