-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[Identity] TokenCache update. #14064
Merged
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
dde4227
squashed the history
sadasant 47f7570
Merge remote-tracking branch 'Azure/master' into identity/tokenCache
sadasant a57a6f1
removed axios
sadasant b4870f3
I forgot to commit the changes to the API review file
sadasant 1107556
Gracefully throwing on Node 8 and a changelog update
sadasant 8fd1a52
Added userPromptCallback to device code options and added a comment r…
sadasant 75d69be
skipping browser unit tests for now
sadasant 2aba1a5
we use DPAPI on windows, not PNPM!! oops
sadasant d296d7d
version change in the manual test package.json
sadasant 959b428
skipping persistence tests on OSX due to missing password
sadasant d9f1f4e
Jeff feedback
sadasant 033f53c
recorded the Node 15 error test
sadasant c13522e
node 15 CI workaround while we wait for MSAL
sadasant File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
src/**/*.js | ||
!test/assets/cert.pem | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
what's in this PEM?
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's the literal PEM that I used to record this test. It's no longer associated with my account.
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.
Do you know if it gets flagged by credscan?
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.
The test recordings should be sanitizing out the client assertion that gets sent which contains the signature. If you do this you can use any arbitrary cert for playback, and not need to use the same cert which was used to record. This will reduce the risk of committing a cert which could still be used to authenticate. We use such "dummy" certs in .NET (both PFX and PEM) and I have not seen them get flagged by credscan.
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.
The cert I use is not associated to any account, but it's a valid cert. I could replace it with the same exact cert that .Net uses, if that helps.
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.
as long as the cert is not capable of authenticating any account it's fine.