Thomas Byrne
a6f9ae9493
New Microsoft Graph Support for RoadRecon ( #125 )
...
* New Microsoft Graph Support for RoadRecon
* Fixing MFA endpoint + some other bits and bobs
* Fixing setup.py
* more MFA fixes
* fixing MFA page and WHFB
* linked against the original metadef files and removed changes from server.py, gather.py and sertup.py
* moving changes to existing files to help track changes
2025-04-04 14:39:40 +02:00
Dirk-jan Mollema
d1474f71a2
roadlib: ms graph data model initial version
2025-03-27 12:49:26 +01:00
Dirk-jan Mollema
5e95aced1a
roadlib: make sure expiresIn is an int in tokendata
2025-03-27 11:25:35 +01:00
Dirk-jan Mollema
8a30a60c8c
roadlib: renew prt for prtv3 flow
2025-03-06 15:08:44 +01:00
Dirk-jan Mollema
c74e0998e3
roadlib version
2025-03-05 14:21:12 +01:00
Dirk-jan Mollema
256e2793c1
roadlib: prtv3 request flow in deviceauth
2025-03-05 14:20:48 +01:00
Dirk-jan Mollema
0a9855f9c5
roadlib: obo flow implementation
2025-02-20 14:18:38 +01:00
Dirk-jan Mollema
f65dfe5ea7
roadlib: add nonce cache option in asyncauth
2025-02-20 09:45:56 +01:00
J
a24b08e38c
added default os_version if os_version is not set and device type is not listed. if it is not set it will fail as os_version is None ( #120 )
2025-02-19 11:02:28 +01:00
Dirk-jan Mollema
ffdfd08523
roadtx: use new roadlib scope specifiers
2025-02-18 11:54:17 +01:00
Dirk-jan Mollema
1e691f1910
roadlib: aliases support in scopes
2025-02-18 11:51:34 +01:00
Dirk-jan Mollema
62a3c835f0
roadlib: add expiresIn claim to tokendata since roadrecon uses it
2025-02-17 19:04:15 +01:00
Dirk-jan Mollema
c59c09d0e5
roadtx: custom origin and PKCE support for code auth based flows
2025-02-14 12:04:59 +01:00
Dirk-jan Mollema
66c168d845
roadlib: pkce support in asyncauth
2025-02-14 12:01:33 +01:00
Dirk-jan Mollema
ac233fb4fa
roadlib: PKCE and origin handling support
2025-02-14 11:59:31 +01:00
Dirk-jan Mollema
0ed59a2d05
roadlib: fix base64 encoding to be urlsafe
2025-02-14 11:58:32 +01:00
Dirk-jan Mollema
b7cfd2a12e
roadlib: async auth improvements + request counter
2025-02-14 11:55:08 +01:00
Dirk-jan Mollema
24a5b415e9
build pipeline update
2025-02-07 11:47:39 +01:00
Dirk-jan Mollema
b91b735605
roadlib: more nonce consistency and add forgotten lines to commit
2025-02-07 10:58:09 +01:00
Dirk-jan Mollema
816133827d
roadlib: ngcmfa parameter support during auth
2025-02-07 10:50:20 +01:00
Dirk-jan Mollema
5a870f946c
roadlib: async nonce fixes
2025-02-07 10:48:29 +01:00
Dirk-jan Mollema
2410815d5c
roadlib: async authentication support, raise major version to v1.0
2025-02-07 10:46:21 +01:00
Dirk-jan Mollema
c91ea0f4d3
roadlib: sharepoint alias
2025-02-07 10:33:58 +01:00
Dirk-jan Mollema
5ac9af138e
roadlib: deviceauth claims from auth lib
2025-02-07 10:33:34 +01:00
Dirk-jan Mollema
713d26442d
roadlib: deviceauth function consistency
2025-02-07 10:32:08 +01:00
Dirk-jan Mollema
1397cb7f77
roadlib: consistency in nonce functions, ngcmfa claim support
2025-02-07 10:29:52 +01:00
yuunaka1
4aafce74e7
Update auth.py ( #117 )
...
Bug fix. The tokenreply (JWS Payload) uses Base64URL encoding, not Base64 encoding. Therefore, the urlsafe_b64decode function must be used for the decoding.
2025-02-04 16:11:18 +01:00
Dirk-jan Mollema
4a365ce394
roadlib: fix last adal dependency in auth.py, replace nonce lookup with api version
2025-02-04 16:10:27 +01:00
Dirk-jan Mollema
ca76cca405
roadlib: drop adal dependency
2025-02-03 12:53:21 +01:00
Dirk-jan Mollema
527b1dbeb2
roadlib: some more comments in new functions
2025-01-31 21:26:50 +01:00
Dirk-jan Mollema
412bb00572
roadlib: add native support for saml auth with username + password, adapted from MSAL
2025-01-31 21:22:14 +01:00
Dirk-jan Mollema
0a671916af
roadlib: resource optional for broker auth
2025-01-31 14:17:58 +01:00
Dirk-jan Mollema
d033e88057
roadlib: generic claims support + mfa enforcement
2025-01-31 14:12:23 +01:00
Dirk-jan Mollema
65d21384e1
version increments
2025-01-22 11:09:32 +01:00
Dirk-jan Mollema
30e08ac07c
roadlib: add company portal alias
2025-01-21 15:22:05 +01:00
Dirk-jan Mollema
bbd706c579
pypi version increases
2024-11-18 22:20:37 +01:00
Dirk-jan Mollema
026df35362
roadlib: add device token flow
2024-11-18 22:20:01 +01:00
Dirk-jan Mollema
f63fa32392
version increments for pypi releases
2024-10-25 13:10:17 +02:00
Dirk-jan Mollema
2d134aa8d3
roadlib: fix origin handling in auth.py
2024-10-04 14:51:33 +02:00
Lance Cain
03f15f5316
Add --origin Argument for Handling Single Page Application Refresh Tokens ( #99 )
...
* Update auth.py
Added origin attribute to be appended to HTTP requests when using Browser based tokens.
* Update auth.py
Added static origin values for Azure portal client ID.
* Update gather.py
Updated checktoken function to use authenticate_with_refresh_native and v2 custom methods instead of Microsoft adal.
* Update gather.py
Corrected try and except statements
* Update gather.py
Modify expire time to utilize token values returned from authenticate_with_refresh_token_native functions.
* Update gather.py
* Update gather.py
* Origin Header Efficiency Improvements
Improvements to more efficiently handle adding "Origin" header to Single Page Application token refresh requests. Removed static client id, implemented a static header for adal when self.origin is set in Auth.py, updated checktoken function in gather.py to use adal authorization with refresh token instead of native, removed unnecessary comments.
2024-09-26 17:34:44 -07:00
Dirk-jan Mollema
3a98c29ab1
roadlib: add outlook alias
2024-08-10 01:05:02 +02:00
Dirk-jan Mollema
07c8eed77a
roadlib / roadtx small fixes and version update
2024-07-31 18:54:44 +02:00
Dirk-jan Mollema
af130a0b06
roadtx / roadlib: leave user agent handling to auth class, add user agent override options to more commands
2024-07-26 12:58:18 +02:00
Dirk-jan
1cb41fbb4a
Merge branch 'master' into userAgent
2024-07-25 11:38:15 +02:00
Dirk-jan Mollema
e2978a71a9
roadlib: prtv4 / ec keys / device registration partial rewrite
2024-07-25 11:33:09 +02:00
Dirk-jan Mollema
f54fefac27
roadlib: rewrite federated credentials auth logic
2024-07-24 16:59:19 +02:00
Dirk-jan Mollema
31bc83fbb2
version bump for pypi
2024-07-24 11:26:20 +02:00
Dirk-jan Mollema
862b65adca
roadlib: native support for device code flow
2024-07-24 11:20:23 +02:00
Dirk-jan Mollema
7dcb4ab8d0
roadlib: split response decryption to support prtv4 logic, add method for federated auth
2024-06-25 09:37:38 +02:00
Christian Eisenkopf
45b4013849
Improved comment
2024-06-21 14:33:56 +02:00