Skip to content

feat: Replace ad hoc auth header with internet standard bearer token auth header#3982

Merged
SleeplessOne1917 merged 8 commits intoLemmyNet:mainfrom
SleeplessOne1917:bearer-token
Sep 26, 2023
Merged

feat: Replace ad hoc auth header with internet standard bearer token auth header#3982
SleeplessOne1917 merged 8 commits intoLemmyNet:mainfrom
SleeplessOne1917:bearer-token

Conversation

@SleeplessOne1917
Copy link
Copy Markdown
Contributor

@SleeplessOne1917 SleeplessOne1917 commented Sep 23, 2023

Does as the title says

The only file that was changed that wasn't a Cargo.toml/lock file was the session middleware. All the other changes were from running cargo fmt to try to satisfy the woodpecker build to no avail.

@Nutomic
Copy link
Copy Markdown
Member

Nutomic commented Sep 25, 2023

I already implemented this in #3818, but your change is much cleaner so lets use that.

To make the API tests pass you have to set the correct header there, analogous to this change from my PR: b2bacd1

Copy link
Copy Markdown
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet, thx.

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 this pull request may close these issues.

3 participants