Skip to content

Commit

Permalink
Added Bits read to scope for later use.
Browse files Browse the repository at this point in the history
  • Loading branch information
DxsSucuk committed Feb 9, 2023
1 parent 86472a2 commit d81a814
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ public ModelAndView startTwitchAuth(HttpServletResponse httpServletResponse, @Co
modelAndView.setViewName("redirect:" +
Server.getInstance().getTwitchIdentityProvider()
.getAuthenticationUrl(List.of(TwitchScopes.CHAT_CHANNEL_MODERATE, TwitchScopes.CHAT_READ,
TwitchScopes.HELIX_BITS_READ,
TwitchScopes.HELIX_CHANNEL_SUBSCRIPTIONS_READ, TwitchScopes.HELIX_CHANNEL_HYPE_TRAIN_READ,
TwitchScopes.HELIX_CHANNEL_REDEMPTIONS_READ),
RandomUtils.randomString(6)));
Expand Down

0 comments on commit d81a814

Please sign in to comment.