we get closer

This commit is contained in:
2023-11-06 19:59:31 +01:00
parent 5828a9a5a2
commit ab2d527dbd
2 changed files with 13 additions and 2 deletions

View File

@ -33,6 +33,10 @@ type User struct {
Email string `json:"email"`
}
type Roles struct {
Roles []string `json:"roles"`
}
// OAuthProvider is a provider using the oauth2 library
type OAuthProvider struct {
Resource string `long:"resource" env:"RESOURCE" description:"Optional resource indicator"`