Azure-Samples / Azure-Samples/ms-identity-ciam-javascript-tutorial

Facing issues when using msal-browser and msal-react in chrome extension

Open
#130 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
75
Forks
65
PR merge metrics
No merged PRs in 30d

Description

> Please provide us with the following information:
> ---------------------------------------------------------------

### This issue is for a: (mark with an `x`)
```
- [x] bug report -> please search issues before submitting
- [] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

### Minimal steps to reproduce
> Run this sample [link](https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-browser-samples/ChromiumExtensionSample) with updated msal-browser and msal-react packages

### Any log messages given by the failure
> Info - handleRedirectPromise called but there is no interaction in progress, returning null.

### Expected/desired behavior
> I should get authenticated even when there is no redirection

### OS and Version?
> Windows 11

### Versions
>@azure/msal-browser": "^3.26.1"
> @azure/msal-react": "^2.1.1"

### Mention any other details that might be useful
This happens when I return false from onRedirectNavigate in msalConfig which is suggested in this sample.
> ---------------------------------------------------------------
> Thanks! We'll be in touch soon.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.