Skip to content

Commit

Permalink
Don't add scopes if none are provided
Browse files Browse the repository at this point in the history
  • Loading branch information
travisspencer committed Sep 28, 2019
1 parent ba728ee commit 32540dd
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -131,7 +131,8 @@ public String getTokenEndpoint()

public void addScopes(String... scopes)
{
Collections.addAll(this.scopes, scopes);
if (scopes != null)
Collections.addAll(this.scopes, scopes);
}

public List<String> getScopes()
Expand Down

0 comments on commit 32540dd

Please sign in to comment.