Comments (3)
@bretterer , thanks for the post and the update. it was brought to my attention by an Okta customer.
i've been working with the Python SDK since v1 came out (posting examples on the readme #123, writing scripts, etc) and even the beta version.
i've written a lot of code using it and also requests
, aiohttp
, and even urllib.request
and shared it with customers via GH https://github.com/gabrielsroka/okta_api, Slack, etc.
the challenge i see is most customers that i work with are admins, not professional developers. they write 50-line scripts, not production quality large programs. and asking them to learn async
is a lot (it took me a long time to get it). so, most of them use requests
, and most of them reinvent the wheel -- over and over again, eg on pagination, on (not) using Session()
(which, in fairness, the 1.0 SDK also didn't use until i suggested it #267). letting them know there's an SDK they can use and be productive right away might propel Python to be a "more widely-used library" -- ie, maybe it's a chicken and egg situation.
is the sdk for admins, too? or only professional developers?
You wrote that you've:
concentrated on our most widely-used libraries such as .NET, Java, and Golang
i think Python is in a different league than those languages. i (personally) would never script in any of those 3, but Python (or maybe JavaScript or PowerShell https://github.com/gabrielsroka/OktaAPI.psm1), sure.
when SDK v1 came out, @joelfranusic-okta (aka @jpf) and I wrote a doc (on Okta's internal wiki called "Review of the Okta Python SDK") with some thoughts (eg, on how to make it more Pythonic, comparing it to other vendors' SDKs, sync vs async, returning tuples, using exceptions, etc). i hope those will be revisited now.
i'm sure i'll have more thoughts/notes in the coming days on this.
EDIT: i should add, i'd be happy to help test/document/collaborate on the new version.
see also #328 and #353 (comment)
from okta-sdk-python.
Thanks @bretterer !
from okta-sdk-python.
Related Issues (20)
- AttributeError: 'SamlApplication' object has no attribute 'list_application_users' HOT 2
- 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
- Listing factors fails if a `signed_nonce` factor is encountered HOT 8
- 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
- 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
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.