diff --git a/auth/oauth2oidc/oauth2oidc.go b/auth/oauth2oidc/oauth2oidc.go index b50444a..6976800 100644 --- a/auth/oauth2oidc/oauth2oidc.go +++ b/auth/oauth2oidc/oauth2oidc.go @@ -74,15 +74,6 @@ func (o *Oauth2idc) UserInfo(oauth2Token *oauth2.Token) (*model.User, error) { return nil, err } - type UserInfo struct { - Subject string `json:"sub"` - Profile string `json:"profile"` - Email string `json:"email"` - EmailVerified bool `json:"email_verified"` - - claims []byte - } - // ID Token payload is just JSON var claims map[string]interface{} if err := userInfo.Claims(&claims); err != nil { diff --git a/ui/src/components/Clients.vue b/ui/src/components/Clients.vue index 57cd215..6d16b75 100644 --- a/ui/src/components/Clients.vue +++ b/ui/src/components/Clients.vue @@ -1,136 +1,195 @@