From badd4e9cb771bd03986adf32e2e8c35c5cc2f692 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Mon, 2 Oct 2023 09:01:37 +0200 Subject: [PATCH] Replace service for CLA authorize (#29064) --- source/developers/cla_sign.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/developers/cla_sign.html b/source/developers/cla_sign.html index fc300f3b973..2523ba90ee8 100644 --- a/source/developers/cla_sign.html +++ b/source/developers/cla_sign.html @@ -437,7 +437,7 @@ description: "The Home Assistant contributor license agreement (CLA) signature p if (codeCheck && codeCheck.length > 0) { $.ajax({ type: "POST", - url: "https://cla.home-assistant.io/github/exchange", + url: "https://service-hub-bots.home-assistant.io/cla-sign/authorize", data: JSON.stringify({"code": codeCheck}), contentType: "application/json", }).done(function(data){ @@ -446,7 +446,7 @@ description: "The Home Assistant contributor license agreement (CLA) signature p var clean_uri = uri.substring(0, uri.indexOf("?")); window.history.replaceState({}, document.title, clean_uri); } - localStorage.setItem("gh_token", data.token); + localStorage.setItem("gh_token", data.access_token); fill_fields(); }); } else if (localStorage.getItem("gh_token") != null) {