Skip to content

Commit

Permalink
Update providers.go
Browse files Browse the repository at this point in the history
  • Loading branch information
ghost58400 committed Sep 3, 2023
1 parent d793555 commit 7dadbb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/provider/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ type token struct {
// User is the authenticated user
type User struct {
Email string `json:"email"`
PrefUser string `json:"preferred_username"`
}

// GetUser extracts a UserID located at the (dot notation) path (UserPath) in the json io.Reader of the UserURL
Expand Down

0 comments on commit 7dadbb1

Please sign in to comment.