GithubHelp home page GithubHelp logo

kiwids0220 / devicecode2winhello Goto Github PK

View Code? Open in Web Editor NEW
43.0 43.0 2.0 39 KB

A small script that automates Entra ID persistence with Windows Hello For Business key

License: MIT License

Python 100.00%

devicecode2winhello's Issues

AttributeError: 'deviceCode2WFH' object has no attribute 'auth'

Hi,

I keep getting this error running the tool. Can you help please.

[*] requesting new PRT with Entra ID using refresh token that we request previously as client 'msbroker': 29d9ed98-a469-4536-ade2-f981bc1d605e
Traceback (most recent call last):
File "C:\deviceCode2WinHello-main\main.py", line 269, in
main()
File "C:\deviceCode2WinHello-main\main.py", line 257, in main
prtdata = action.refreshtoken_to_prt_wrapper(token)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\deviceCode2WinHello-main\main.py", line 173, in refreshtoken_to_prt_wrapper
prtdata = self.get_prt_with_refresh_token(msbroker_token["refreshToken"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\roadtools\roadlib\roadtools\roadlib\deviceauth.py", line 765, in get_prt_with_refresh_token
return self.request_token_with_devicecert_signed_payload(payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\roadtools\roadlib\roadtools\roadlib\deviceauth.py", line 611, in request_token_with_devicecert_signed_payload
res = self.auth.requests_post(url, data=prt_request_data, proxies=self.proxies, verify=self.verify)
^^^^^^^^^
AttributeError: 'deviceCode2WFH' object has no attribute 'auth'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.