Skip to content

Commit

Permalink
Fix user scope
Browse files Browse the repository at this point in the history
  • Loading branch information
BilledTrain380 committed Oct 3, 2018
1 parent 85f7cbe commit 96c1332
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class AuthorizationServerConfig(
?.authorizedGrantTypes("implicit")
?.accessTokenValiditySeconds(43200) // access token is valid for 12 hours
?.scopes(
PSAScope.USERS,
PSAScope.USER,
PSAScope.GROUP_READ,
PSAScope.GROUP_WRITE,
PSAScope.SPORT_READ,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ package ch.schulealtendorf.sporttagpsa.controller.config
enum class PSAScope(
val value: String
) {
USERS("users"),
USER("user"),
GROUP_READ("group_read"),
GROUP_WRITE("group_write"),
SPORT_READ("sport_read"),
Expand Down

0 comments on commit 96c1332

Please sign in to comment.