Closed azafred closed 2 years ago
@azafred Thanks for posting this issue. Which version of okta-jwt-verifier do you use? For v0.2.1 deprecation warning occurs only for instantiating JWTVerifier class, while in README it isn't used at all.
Looks like I am using okta-jwt-verifier==0.2.0 Will check about 0.2.1 :)
Checked with 0.2.1. I'm getting the same warning.
@abhaynayak24 Thanks for checking. It seems like warning appears for IDTokenVerifier, I'll fix it soon.
@sergeyfunt-okta this behaviour is also seen with AccessTokenVerifier. I was using JWTVerifier which gave me the warning to use AccessTokenVerifier or IDTokenVerifier. I used AccessTokenVerifier but i still see the same warning.
@abhaynayak24 Fix is pending review, but AccessTokenVerifier shouldn't generate any warning (at least, with 0.2.1). Could you please, show code sample?
@azafred, @abhaynayak24 Version 0.2.2 has been released https://github.com/okta/okta-jwt-verifier-python/releases/tag/v0.2.2 I'm closing this issue as resolved. Feel free to reopen this issue or create a new one if your problem still exists.
This library is outputting a deprecation warning and very little documentation in a path to move forward.
/home/fred/.local/lib/python3.9/site-packages/okta_jwt_verifier/jwt_verifier.py:39: DeprecationWarning: JWTVerifier will be deprecated soon. For token verification use IDTokenVerifier or AccessTokenVerifier. For different jwt utils use JWTUtils.