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

dropbox-oauth-pkce example does not use SDK for secret store #930

Open
msssk opened this issue Sep 1, 2023 · 1 comment
Open

dropbox-oauth-pkce example does not use SDK for secret store #930

msssk opened this issue Sep 1, 2023 · 1 comment
Labels

Comments

@msssk
Copy link

msssk commented Sep 1, 2023

Your Problem

Trying to learn about storing secrets

Existing Documentation URLs (If applicable)

The dropbox-oauth-pkce example uses Stripe.StripeResource (which I can't find any documentation for) to make api calls. The secret-store example uses the simpler Stripe SDK. Which is the best approach and why?

@gabrielhurley-stripe
Copy link
Contributor

Thanks for the report. The stripe.apps.secrets methods are the preferred way of interacting with secret store. The other method is outdated. Stripe.StripeResource is an internal utility class from the SDK, and while the usage in that example is valid, is not something we document for general use. I'll add this to our to-do list to update the example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants