Comments (8)
I have same behavior.
from okta-sdk-python.
I experience the same
from okta-sdk-python.
I experience the same behavior.
It seems that support for the signed_nonce
factor hasn't been implemented in the Python SDK since being added to Okta - the OKTA_FACTOR_TYPE_TO_FACTOR
dictionary in constants.py
doesn't have the signed_nonce
factor entry, and there is no corresponding model implemented under the models
directory.
from okta-sdk-python.
Did someone regenerated SDK for the latest version of openapi spec? I still experience an issues with listing of factors as mentioned here in comments.
from okta-sdk-python.
If it helps, I've been using the following manually-created request pattern from the SDK to work around this issue:
# https://github.com/okta/okta-sdk-python/issues/360
# user_factors, response, error = await client.list_factors(user.id)
request, error = await client.get_request_executor().create_request(
method='GET',
url='/api/v1/users/' + user.id + '/factors',
body={},
headers={}
)
if error is not None:
raise Exception(error)
response, error = await client.get_request_executor().execute(request, None)
if error is not None:
raise Exception(error)
user_factors = response.get_body()
for user_factor in user_factors:
df = dict({
'okta_user_id': [user.id],
'okta_user_login': [user.profile.login],
'status': [user_factor['status']],
'factorType': [user_factor['factorType']],
'provider': [user_factor['provider']],
'vendorName': [user_factor['vendorName']],
})
from okta-sdk-python.
Yes, you can do it, but it's not proper solution if it's possible to fix openapi specs and refresh SDK to have all current types of factors covered. I am using it on 20+ servers.
from okta-sdk-python.
Same issue here with listing signed_nonce. Hope it can be fixed soon as I would prefer to use the SDK instead of workaround.
from okta-sdk-python.
This is still happening in the latest version - 2.9.5. OKTA_FACTOR_TYPE_TO_FACTOR
is missing the SIGNED_NONCE
factor type. Can you please generate a new version of the SDK with this small fix?
from okta-sdk-python.
Related Issues (20)
- Partial Update of Attribute Statement values using SDK HOT 2
- Getting okta models has no attribute AutoLoginApplication
- Add support for managing Group Owners HOT 1
- Okta HTTP 500 E0000009 Internal Server Error when creating MultifactorEnrollmentPolicy HOT 1
- Response Headers not updated after next request HOT 2
- This SDK would let me retrieve/list all the users assigned to each application for every app in OKTA? HOT 5
- Can the README be made clearer that there are no plans to update this library to the next SDK version? HOT 2
- Access token expiry not handled when using OAuth 2.0 HOT 3
- Allow latest aenum release
- Exception raised when making an OAuth 2.0 API request without necessary scopes is unhelpful
- Duplicate log lines when creating multiple client instances
- Reading OKTA Applications does not include configuredAttributeStatements HOT 1
- đĄ âšī¸ Update on the Python SDK Refresh âšī¸ đĄ HOT 3
- Users are missing when calling list_users() HOT 1
- [Feature Request] Device Assurance API Support
- Python 3.11 not supported? HOT 1
- error: client_assertion token has an expiration too far into the future HOT 1
- `forgot_password_generate_one_time_token` not-functional in private key mode HOT 1
- POST /token in body, not in url
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
đ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google â¤ī¸ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from okta-sdk-python.