Skip to content

Add OAuth client & update usages#42

Draft
Cardy2 wants to merge 4 commits into
masterfrom
add-OAuthClient
Draft

Add OAuth client & update usages#42
Cardy2 wants to merge 4 commits into
masterfrom
add-OAuthClient

Conversation

@Cardy2
Copy link
Copy Markdown

@Cardy2 Cardy2 commented May 14, 2026

add OAuthClient.js

add implementations to:

core/sweapi/Collection.js
core/sweapi/SensorWebApi.js
Determine if OAuth current classes are compatible with osh-js being deployed as a node module.

There are vite specific imports for virtual objects including VITE_CLIENT_ID, VITE_CLIENT_SECRET, & VITE_TOKEN_ENDPOINT and may need changes to work including:

webpack modification (a DefinePlugin mapping maybe)
code changed to be bundler agnostic

@Cardy2 Cardy2 linked an issue May 14, 2026 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Add OAuthClient & implementations to osh-js

1 participant