Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: add oauth2 token exchange#12196

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
code-asher merged 11 commits intomainfromasher/oauth2-exchange-db
Feb 20, 2024
Merged

Conversation

code-asher
Copy link
Member

@code-ashercode-asher commentedFeb 16, 2024
edited
Loading

Re-opened since the original got closed by stale bot and will not let me re-open after force-pushing!

Rename token hashed_secret to refresh_hash and later are new since that PR was last reviewed. The main thing is that a secret prefix was added.

#11778

Comment on lines +1236 to +1240
// The user ID is on the API key so that has to be fetched.
key, err := q.db.GetAPIKeyByID(ctx, token.APIKeyID)
if err != nil {
return database.OAuth2ProviderAppToken{}, err
}
Copy link
Member

Choose a reason for hiding this comment

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

That is annoying 😢

@code-ashercode-asher changed the titlefeat: add oauth2 codes and tokens to databasefeat: add oauth2 token exchangeFeb 20, 2024
Without this I think the tests would fail since they are not adding aprefix and there is no default.
@code-ashercode-asher merged commit4d39da2 intomainFeb 20, 2024
@code-ashercode-asher deleted the asher/oauth2-exchange-db branchFebruary 20, 2024 23:58
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsFeb 20, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@EmyrkEmyrkEmyrk approved these changes

Assignees

@code-ashercode-asher

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@code-asher@Emyrk

[8]ページ先頭

©2009-2025 Movatter.jp