Skip to content

Commit

Permalink
Merge pull request #159 from denouche/fix/scopesAreSpaceSeparated
Browse files Browse the repository at this point in the history
fix: as the scope are space delimited, split on space to separate the…
  • Loading branch information
RangelReale authored Aug 3, 2017
2 parents 2f5f767 + d86377a commit 829186e
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 829186e

Please sign in to comment.