mirror of
https://github.com/imgfloat/server.git
synced 2026-11-05 06:44:08 +00:00
Fix login
This commit is contained in:
1 parent
b280d5951f
commit
9f9c14c1bb
8 files changed
+412
-1
No files matched your search
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user