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

Node broker implementation #5550

Merged
merged 75 commits into from
Mar 2, 2023
Merged

Node broker implementation #5550

merged 75 commits into from
Mar 2, 2023

Conversation

tnorling
Copy link
Collaborator

Exposes nativeBrokerPlugin to enable token acquisition through the system broker via msal-node-extensions and msal-runtime

tnorling and others added 28 commits October 25, 2022 16:31
@github-actions github-actions bot added documentation Related to documentation. msal-node Related to msal-node package labels Jan 10, 2023
* @param request
* @returns
*/
async signOut(request: SignOutRequest): Promise<void> {
Copy link
Contributor

Choose a reason for hiding this comment

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

Slightly worried if this could be mistaken for an API doing a service signout (end session). I suppose the name was chosen to align with X.. (likely lacking context, apologies)

Copy link
Member

Choose a reason for hiding this comment

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

signOut API has the same name across all MSAL APIs except formsal-browser. What do you have in mind?

Copy link
Contributor

Choose a reason for hiding this comment

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

@sameerag didn't know that! My worry is, this API only does a "local" signout, it doesn't end the session with IdP. We probably should emphasize this in API description as it's reasonable to expect this to be misunderstood.

Copy link
Contributor

@derisen derisen left a comment

Choose a reason for hiding this comment

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

LGTM -minor comments

...remainingProperties,
clientId: this.config.auth.clientId,
scopes: request.scopes || OIDC_DEFAULT_SCOPES,
redirectUri: `${Constants.HTTP_PROTOCOL}${Constants.LOCALHOST}`,
Copy link
Member

Choose a reason for hiding this comment

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

Basic q: Is it set this way as we do not need it for the native calls?

Co-authored-by: Doğan Erişen <v-derisen@microsoft.com>
Base automatically changed from node-extensions-nativeBrokerPlugin to dev March 2, 2023 19:27
@github-actions github-actions bot added the extensions Related to extensions for the base libraries label Mar 2, 2023
@tnorling tnorling merged commit 7d0ef8c into dev Mar 2, 2023
@tnorling tnorling deleted the msal-node-brokering branch March 2, 2023 22:45
@ghost
Copy link

ghost commented Mar 7, 2023

🎉@azure/msal-node@v1.16.0 has been released which incorporates this pull request.:tada:

Handy links:

konstantin-msft pushed a commit that referenced this pull request Apr 3, 2023
Exposes nativeBrokerPlugin to enable token acquisition through the
system broker via msal-node-extensions and msal-runtime

---------

Co-authored-by: Thomas Norling <thnorlin@microsoft.com>
Co-authored-by: Doğan Erişen <v-derisen@microsoft.com>
hectormmg pushed a commit that referenced this pull request Apr 5, 2023
Exposes nativeBrokerPlugin to enable token acquisition through the
system broker via msal-node-extensions and msal-runtime

---------

Co-authored-by: Thomas Norling <thnorlin@microsoft.com>
Co-authored-by: Doğan Erişen <v-derisen@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Related to documentation. extensions Related to extensions for the base libraries msal-node Related to msal-node package samples Related to the samples apps for the library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants