-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Move nagivateToLoginRequestUrl
out of Configuration
#7855
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
base: msal-v5
Are you sure you want to change the base?
Conversation
- Suppress false-positive CodeQL finding in NavigationClient
Updates the remove access token cache logic to perform its steps synchronously. This is a pre-requisite for additional work to handle cache quota errors in the near future. This requires pushing the POP key removal (which is asynchronous) to the background, we will track failures around this in telemetry instead of throwing an error developers can't resolve anyway.
This PR contains the changelogs and version bumps for the MSAL.js 3P releases. Co-authored-by: MSAL.js Release Automation <[email protected]> Co-authored-by: Sameera Gajjarapu <[email protected]>
Bumped to new minor version
1. Updated all msal-node samples to use dotenv 16.5.0 2. Moved dotenv from devDependencies to dependencies in several samples. This change reflects that dotenv is a runtime requirement for these samples since they need to load environment variables during actual execution, not just during development. 3. Run `npm i` in each directory to update package-lock.json files 4. Merged in child: #7824
…7820) Updated code and README
…Machine Learning Managed Identity (#7616) Fixes #7609 If the Machine Learning System Assigned Managed Identity is being used, the "clientid" request parameter will be set to the DEFAULT_IDENTITY_CLIENT_ID environment variable instead of being omitted in the network request. I manually tested this on two different AML clusters - one with SAMI enabled and the other with UAMI enabled.
@@ -46,4 +47,5 @@ export type RedirectRequest = Partial< | |||
> & { | |||
scopes: Array<string>; | |||
redirectStartPage?: string; | |||
navigateToLoginRequestUrl?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels wrong for this to be part of RedirectRequest
, what needs to happen to make this only applicable to `handleRedirectPromise?
* @returns Token response or null. If the return value is null, then no auth redirect was detected. | ||
*/ | ||
async handleRedirectPromise( | ||
hash?: string | ||
hash?: string, | ||
options?: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we create a type for options
?
Moves
navigateToLoginRequestUrl
out ofConfiguration.BrowserAuthOptions
and intoRedirectRequest
and as an optional parameter inhandleRedirectPromise
.