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

Will the default warning behavior for scope changes be updated? #845

Open
mahima-desetty opened this issue Apr 5, 2023 · 1 comment
Open

Comments

@mahima-desetty
Copy link

I’m aware of the current avenues to get past the warning raised in parameters.py (via signals, OAUTHLIB_RELAX_TOKEN_SCOPE env var, reading the token parameter on the warning raised), but I’m wondering if there are any plans to change the way the warning behaves when there is a scope change if none of the workarounds are implemented. Right now, if there is a scope change and users have not already handled this scenario, it could break their applications.

From https://github.com/oauthlib/oauthlib/pull/276#issuecomment-60288949…
“Still have the warning enabled by default. Can be disabled with OAUTHLIB_RELAX_TOKEN_SCOPE. signals will be sent in either case.

We can think about changing this default going into 1.0.”

@auvipy
Copy link
Contributor

auvipy commented Apr 8, 2023

do you have the bandwidth to come with a draft PR with what change you are suggesting, please?

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

No branches or pull requests

2 participants