Migrate from internal test domain
This commit is contained in:
parent
4345e849fc
commit
7579d35b4a
2
main.go
2
main.go
|
@ -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,
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
|
|
Reference in New Issue