requests / requests-oauthlib

OAuthlib support for Python-Requests!
https://requests-oauthlib.readthedocs.org/
ISC License
1.71k stars 421 forks source link

Added secrets to actions to run test example #538

Closed JonathanHuot closed 2 months ago

coveralls commented 3 months ago

Coverage Status

coverage: 90.097%. remained the same when pulling 59f3d6a0edc2ddea8761cb5b8eab8a6f795c8a21 on docs-examples into 7af9125a4fb3a21fbff4b829449a090469cf32b4 on master.

JonathanHuot commented 3 months ago

I need to add documentation on "how to add new example", and this will be considered complete. Note that examples are "skipped" if the secrets does not exists (see https://github.com/requests/requests-oauthlib/blob/master/tests/examples/test_native_spa_pkce_auth0.py#L13) . In this MR, we have all tests passed, so the "optional" tests are not skipped.

jtroussard commented 3 months ago

Will the docs contain guidance on how to load/maintain the secrets?

JonathanHuot commented 3 months ago

Hi @jtroussard & al, you can check docs locally but I think it is good for a first revision. Any comments are welcome.

jtroussard commented 2 months ago

@JonathanHuot sorry to revive this one. First off, amazing contribution. Second, my apologies, I must have missed this notification and did not see this PR or request to review. I was only alerted to this once the merged notification hit my dashboard.

After reviewing your native spa example, and the new documentation, I've set out to update some of our other examples. I might have some clarifying questions coming soon. Thanks for this again!