IdentityPython / oidc-op

An implementation of an OIDC Provider (OP)
Apache License 2.0
64 stars 26 forks source link

Merge oidc and oauth2 token helpers #134

Open nsklikas opened 3 years ago

nsklikas commented 3 years ago

There is a lot of code shared between https://github.com/IdentityPython/oidc-op/blob/master/src/oidcop/oauth2/token.py and https://github.com/IdentityPython/oidc-op/blob/master/src/oidcop/oidc/token.py. We should refactor the helper classes so that duplicate code is removed

peppelinux commented 3 years ago

Completely agree

Probably this Will affect also how unit tests imports things and this could be a bit Dangerous, because we should do refactor without touching unit tests ...