Missing support of :param require_token: for decorator accept_token makes this lib backward incompatible
Opened this issue · 2 comments
yurnov commented
Recently I found that flask-oidc was forked and back to a maintainable state, but I found that direct upgrade of flask-oidc from pypi brake some backward compatibility when decorator @oidc.accept_token
is used.
In the my code I have the following:
@oidc.accept_token(require_token=True)
everywhere where authorization is required, that doesn't work in 2.x version
dannyp11 commented
I used the optional
instead
@oidc.accept_token(optional=False)