Реклама в магазине
Banner
Почтовые сервисы

🔥Авторег аккаунты Hotmail🔥Активирован OAUTH2 (refresh_token + client_id)🔥

Изображение: 🔥Авторег аккаунты Hotmail🔥Активирован OAUTH2 (refresh_token + client_id)🔥
0 шт.
0,82 руб.
Куплено: 5 раз

Аккаунты зарегистрированы автоматически!

Формат выдачи: Login|Password|Refresh_token|Client_id

Вид почты: [email protected]

Активирован OAUTH2 (refresh_token + client_id)

Подтверждение по смс не требуется

Иностранные имена и фамилии

Пол мужской или женский. Возраст 1 месяц и страше. IP:Europe

 

Статья об отключие протоколов IMAP - POP3 - SMTP - https://support.microsoft.com/en-us/office/modern-authentication-methods-now-needed-to-continue-syncing-outlook-email-in-non-microsoft-email-apps-c5d65390-9676-4763-b41f-d7986499a90d

Код на Python для работы токена OAUTH2

def get_refresh_token_hotmail(data_hotmail, proxy=None):
    access_token = None
    try:
        post_data = {
            'client_id': data_hotmail.split('|')[3],
            'refresh_token': data_hotmail.split('|')[2],
            'grant_type': 'refresh_token',
        }

        response = requests.post(
            "https://login.microsoftonline.com/common/oauth2/v2.0/token",
            data=post_data,
            headers={"Content-Type": "application/x-www-form-urlencoded"},
            proxies={"http": proxy, "https": proxy} if proxy else None
        )

        response_data = response.json()
        refresh_token = response_data.get('refresh_token')

        logging.debug(f"Access token retrieved: {refresh_token}")

    except Exception as e:
        logging.error(f"Error during first request: {e}")

        try:
            post_data = {
                'client_id': data_hotmail.split('|')[3],
                'refresh_token': data_hotmail.split('|')[2],
                'grant_type': 'refresh_token'
                /IMAP.AccessAsUser.All'  # Request the correct scope
            }

            response = requests.post(
                "https://login.microsoftonline.com/common/oauth2/v2.0/token",
                data=post_data,
                headers={"Content-Type": "application/x-www-form-urlencoded"}
            )

            response_data = response.json()
            refresh_token = response_data.get('refresh_token')

            logging.debug(f"Access token retrieved on second attempt: {refresh_token}")

        except Exception as e:
            logging.error(f"Error during second request: {e}")

    return refresh_token

Реклама в магазине
Banner