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]: It seems that the RestAPIAuthentication type has changed from Bearer to Basic. #84

Open
malgogi opened this issue Jul 31, 2024 · 2 comments · May be fixed by #85
Open

[Bug]: It seems that the RestAPIAuthentication type has changed from Bearer to Basic. #84

malgogi opened this issue Jul 31, 2024 · 2 comments · May be fixed by #85

Comments

@malgogi
Copy link

malgogi commented Jul 31, 2024

Symptom

I have been receiving a 401 error response when calling getUser method.
In Document, we confirmed that the authentication type is Basic.

Related Links

auth.ts

@malgogi malgogi changed the title It seems that the RestAPIAuthentication type has changed from Bearer to Basic. [Bug] It seems that the RestAPIAuthentication type has changed from Bearer to Basic. Jul 31, 2024
@malgogi malgogi changed the title [Bug] It seems that the RestAPIAuthentication type has changed from Bearer to Basic. [Bug]: It seems that the RestAPIAuthentication type has changed from Bearer to Basic. Jul 31, 2024
@EinfachHans
Copy link

Same problem for me. Start receiving a lot of 401 error's. Support chat checked my code and said there was a change from Bearer to Basic.

Except i think this is a breaking change and should have been announced prominent (or did i missed it?), this should be adjusted here asap

@EinfachHans EinfachHans linked a pull request Jul 31, 2024 that will close this issue
6 tasks
@EinfachHans
Copy link

I created a PR to address this.

Meanwhile i was able to create a workaround, but only because i use httpApi: wrapHttpLibrary(...) and then have axios send the request. Like that i'm able to manipulate the headers and replace Bearer with Basic

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

Successfully merging a pull request may close this issue.

2 participants