Replace OpenSSL in oauth2client.crypt to work with

2019-05-16 03:18发布

Google App Engine supports PyCrypto, but does not support OpenSSL.

I want to use the oauth2client SignedJwtAssertionCredentials, which internally calls OpenSSL . Is there is a way to get oauth2client to work with PyCrypto.

I am assuming that it might be possible to create a local version of SignedJwtAssertionCredential equivalent by using PyCrypto instead ?

Also is there a way I can make a request to Google App Engine to provide a version that support the functionality for certificate/Assertions for server-to-server Oauth2.0 dance ?

Any pointers/help would be much appreciated.

Thanks.

1条回答
ら.Afraid
2楼-- · 2019-05-16 03:42

Found this link and this avoids any special handling to avoid ssl/etc.. This link has Google Data support for App Engine use.

I have not tried it yet - but once I use it, I will share feedback, if worthwhile for others.

查看更多
登录 后发表回答