Skip to content

Commit

Permalink
fix: as the scope are space delimited, split on space to separate the…
Browse files Browse the repository at this point in the history
… scope list instead of comma
  • Loading branch information
denouche committed Aug 1, 2017
1 parent 2f5f767 commit d86377a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions access.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,8 @@ func (s *Server) handleAuthorizationCodeRequest(w *Response, r *http.Request) *A
}

func extraScopes(access_scopes, refresh_scopes string) bool {
access_scopes_list := strings.Split(access_scopes, ",")
refresh_scopes_list := strings.Split(refresh_scopes, ",")
access_scopes_list := strings.Split(access_scopes, " ")
refresh_scopes_list := strings.Split(refresh_scopes, " ")

access_map := make(map[string]int)

Expand Down

0 comments on commit d86377a

Please sign in to comment.