Fix login

This commit is contained in:
2025-12-04 16:11:56 +01:00
parent b280d5951f
commit 9f9c14c1bb
8 changed files with 412 additions and 1 deletions

View File

@@ -20,6 +20,7 @@ spring:
twitch:
client-id: ${TWITCH_CLIENT_ID}
client-secret: ${TWITCH_CLIENT_SECRET}
client-authentication-method: client_secret_post
redirect-uri: "${TWITCH_REDIRECT_URI:{baseUrl}/login/oauth2/code/twitch}"
authorization-grant-type: authorization_code
scope: ["user:read:email"]
@@ -28,7 +29,7 @@ spring:
authorization-uri: https://id.twitch.tv/oauth2/authorize
token-uri: https://id.twitch.tv/oauth2/token
user-info-uri: https://api.twitch.tv/helix/users
user-name-attribute: preferred_username
user-name-attribute: login
management:
endpoints: