Migrate from internal test domain

This commit is contained in:
Tracker-Friendly 2024-04-26 20:15:43 +00:00 committed by Arzumify
parent 4345e849fc
commit 7579d35b4a
5 changed files with 11 additions and 11 deletions

View File

@ -392,7 +392,7 @@ func main() {
datatemplate := jwt.MapClaims{
"sub": username,
"iss": "https://goauth.hectabit.org",
"iss": "https://auth.hectabit.org",
"name": username,
"aud": appId,
"exp": time.Now().Unix() + 2592000,

View File

@ -5,8 +5,8 @@ if (localStorage.getItem("DONOTSHARE-secretkey") === null) {
}
let remote = localStorage.getItem("homeserverURL")
if (remote == null) {
localStorage.setItem("homeserverURL", "https://goauth.hectabit.org")
remote = "https://goauth.hectabit.org"
localStorage.setItem("homeserverURL", "https://auth.hectabit.org")
remote = "https://auth.hectabit.org"
}

View File

@ -11,8 +11,8 @@ if (localStorage.getItem("DONOTSHARE-password") !== null) {
let remote = localStorage.getItem("homeserverURL")
if (remote == null) {
localStorage.setItem("homeserverURL", "https://goauth.hectabit.org")
remote = "https://goauth.hectabit.org"
localStorage.setItem("homeserverURL", "https://auth.hectabit.org")
remote = "https://auth.hectabit.org"
}
let usernameBox = document.getElementById("usernameBox")

View File

@ -11,8 +11,8 @@ if (localStorage.getItem("DONOTSHARE-password") !== null) {
let remote = localStorage.getItem("homeserverURL")
if (remote == null) {
localStorage.setItem("homeserverURL", "https://goauth.hectabit.org")
remote = "https://goauth.hectabit.org"
localStorage.setItem("homeserverURL", "https://auth.hectabit.org")
remote = "https://auth.hectabit.org"
}
let usernameBox = document.getElementById("usernameBox")

View File

@ -1,8 +1,8 @@
{
"issuer": "https://goauth.hectabit.org",
"authorization_endpoint": "https://goauth.hectabit.org/login",
"token_endpoint": "https://goauth.hectabit.org/api/tokenauth",
"userinfo_endpoint": "https://goauth.hectabit.org/userinfo",
"issuer": "https://auth.hectabit.org",
"authorization_endpoint": "https://auth.hectabit.org/login",
"token_endpoint": "https://auth.hectabit.org/api/tokenauth",
"userinfo_endpoint": "https://auth.hectabit.org/userinfo",
"response_types_supported": ["code"],
"subject_types_supported": ["public"]
}