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

feat: basic jwt support #17

Merged
merged 6 commits into from
Oct 11, 2023
Merged

feat: basic jwt support #17

merged 6 commits into from
Oct 11, 2023

Conversation

tchardin
Copy link
Contributor

No description provided.

@tchardin tchardin requested a review from guanzo October 11, 2023 15:23
src/index.js Show resolved Hide resolved
src/index.js Show resolved Hide resolved
@@ -18,13 +20,15 @@ class Saturn {
clientId: randomUUID(),
cdnURL: 'saturn.ms',
logURL: 'https://twb3qukm2i654i3tnvx36char40aymqq.lambda-url.us-west-2.on.aws/',
authURL: 'https://fz3dyeyxmebszwhuiky7vggmsu0rlkoy.lambda-url.us-west-2.on.aws/',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the staging lambda url, will switch with prod when we upgrade

src/index.js Show resolved Hide resolved
@guanzo
Copy link
Collaborator

guanzo commented Oct 11, 2023

tests failing due to new clientKey requirement.. just add random clientKey to our test clients?

@guanzo
Copy link
Collaborator

guanzo commented Oct 11, 2023

I just realized that test clients perform fetches, so the JWT fetching logic will be called as well.., requiring a real clientKey for the target environment. How should we proceed? Do we mock out the authURL or somethin

@tchardin tchardin merged commit 4bc09dd into main Oct 11, 2023
1 check passed
@tchardin tchardin deleted the tc/jwt-support branch October 11, 2023 22:34
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.

3 participants