UI: Make OAuth base URL configurable

This commit is contained in:
derrod
2022-04-03 17:48:02 +02:00
committed by Jim
parent 73e6df5d09
commit 5dcabaf5cf
5 changed files with 15 additions and 6 deletions

View File

@@ -26,6 +26,12 @@ if(TARGET obs-browser
obs-browser-panels INTERFACE ${CMAKE_SOURCE_DIR}/plugins/obs-browser/panel)
endif()
set(OAUTH_BASE_URL
"https://auth.obsproject.com/"
CACHE STRING "Default OAuth base URL")
mark_as_advanced(OAUTH_BASE_URL)
if(NOT DEFINED TWITCH_CLIENTID
OR "${TWITCH_CLIENTID}" STREQUAL ""
OR NOT DEFINED TWITCH_HASH