Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make ZMS PAS plugins work with Py2/Zope2 #6

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

drfho
Copy link
Contributor

@drfho drfho commented Jan 31, 2023

The Products.zmsPluggableAuthService does not work with ZMS3/Py2/Zope2:

PAS_Py3_vs_Py2

To archive down-compatibility some module imports (Products.zmsPluggableAuthService.plugins, base64, urllib) must be modified and a icon image is required.
Install:
./pip install --no-deps -e ~/src/sntl-projects/Products.zmsPluggableAuthService/.

Python2 (deprecated!) needs following module versions (deprecated!):

./pip install cryptography==3.3.2
./pip install itsdangerous==1.1.0

With the changes the ZMS PAS plugins work with Zope5 and Zope2:

ZMSSSOPAS_Py3

ZMSSSOPAS_Py2

@zmsdev:
maybe there is a ore elegant way to differ py2/py3 imports?

@drfho drfho requested a review from zmsdev January 31, 2023 07:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants