WIP: Begin OAuth2 implementation #598
No reviewers
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#598
Loading…
Reference in New Issue
No description provided.
Delete Branch "feature/oauth2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
TBD
Checklist
go mod vendor
make do-the-swag
)@ -171,8 +175,18 @@ func InitDefaultConfig() {
log.Fatal(err.Error())
}
privateKey, err := rsa.GenerateKey(rand.Reader, 4096)
This should only be done if no key is configured.
@ -1309,0 +1311,4 @@
// OAuth2
// ========
// ErrOAuth2ClientDoesNotExist represents an error where an oauth2 client does not exist
Please use http errors: https://vikunja.io/docs/custom-errors/
@ -0,0 +9,4 @@
)
type OAuth2Client struct {
ClientID string `xorm:"pk not null"`
Will xorm make this a text or varchar? It should be a varchar since it's used as primary key.
Pull request closed