Hello,
I am not sure, but I remember that the python SDK has API implementations for the token validation.
Another thing to consider is a python openid-connect client with auto-discover of allowed signing schemes, token and authorization endpoint.
Not sure if there’s one already…
Anyway, I think the article could be updated with this approach.