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: add code to retrieve sxt access token #27

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

JayWhite2357
Copy link
Contributor

@JayWhite2357 JayWhite2357 commented Nov 13, 2024

What changes are included in this PR?

Code is added to retrieve access token for spaceandtime

@JayWhite2357 JayWhite2357 changed the title feat: add code to retrieve sxt access token feat: add code to retrieve spaceandtime access token Nov 13, 2024
@JayWhite2357 JayWhite2357 changed the title feat: add code to retrieve spaceandtime access token feat: add code to retrieve sxt access token Nov 13, 2024
@Dustin-Ray Dustin-Ray merged commit 274d9b9 into chainlink-functions-sdk-main Nov 13, 2024
5 checks passed
@Dustin-Ray Dustin-Ray deleted the feat/sxt-auth-from-cf branch November 13, 2024 20:31
Comment on lines +22 to +24
// Extract the access token, truncate it to 256 characters, and return it as an encoded string
const accessToken = apiResponse.data.accessToken;
return Functions.encodeString("TODO");
Copy link
Contributor

Choose a reason for hiding this comment

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

My only comment on this is that we dont want to actually truncate anything, this is just done to get this to pass in the playground

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.

2 participants