Skip to content

Pass Identity token to LWC Dev Server #66

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

Merged
merged 1 commit into from
Jun 24, 2024
Merged

Pass Identity token to LWC Dev Server #66

merged 1 commit into from
Jun 24, 2024

Conversation

abdulsattar
Copy link
Collaborator

What does this PR do?

To be merged after #52 is merged.

It passes the Identity token to the LWC Dev Server

What issues does this PR fix or reference?

@abdulsattar abdulsattar requested a review from a team as a code owner June 20, 2024 12:49
Copy link
Contributor

@maliroteh-sf maliroteh-sf left a comment

Choose a reason for hiding this comment

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

Looks like #67 went in before this one, so you have some conflicts to resolved but other than that LGTM

@@ -72,6 +74,7 @@ async function createLWCServerConfig(rootDir: string, logger: Logger): Promise<S
paths: namespacePaths,
workspace: await LwcDevServerUtils.getLocalDevServerWorkspace(),
targets: ['LEX'], // should this be something else?
identityToken,
Copy link
Contributor

@maliroteh-sf maliroteh-sf Jun 24, 2024

Choose a reason for hiding this comment

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

in order to be aligned with the way we pass the params, maybe we should update this to identityToken: identityToken instead?

@maliroteh-sf maliroteh-sf merged commit ce9c316 into salesforcecli:main Jun 24, 2024
1 check passed
@abdulsattar abdulsattar deleted the identity-token branch June 26, 2024 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants