move oauth models into gtsmodel

This commit is contained in:
tsmethurst 2021-09-01 11:45:01 +02:00
commit 684bd56528
39 changed files with 1060 additions and 96 deletions

View file

@ -68,7 +68,7 @@ func (p *processor) AppCreate(ctx context.Context, authed *oauth.Auth, form *api
}
// now we need to model an oauth client from the application that the oauth library can use
oc := &oauth.Client{
oc := &gtsmodel.Client{
ID: clientID,
Secret: clientSecret,
Domain: form.RedirectURIs,