Skip to content

How does the SDK work for the browser? #62

Description

@hrgui

Description

In the README.md, it states that this SDK works in the browser.

Supported platforms
This SDK can be used on both browser and Node.js environments.

However, it requires a client_id and client_secret.

As per https://uphold.com/en/developer/api/documentation/#registering-an-application:

Security Notice: Your Client Secret should never be shared, must be kept secret at all times and should only be used from your server-side application.

Using it in the browser can potentially expose the client ID and client secret through the JavaScript files. This contradicts how this can be used in the browser - unless I am missing something?

Is there any examples that use this SDK in a browser-based way?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions