Questions tagged [acquiretokensilent]
6 questions
1
vote
0 answers
Error "invalid_grant" after using msal token from msal-react
I need your help with an unreachable error when msal token expire, specifically an invalid_grant error. I have a exception but this error only is showing on console. Thanks you
const refreshToken = async () => {
const request = {
account:…

smontecinos
- 11
- 1
0
votes
0 answers
'GetAccountsAsync' returns null in my .NET Maui application (C#)
I have a .NET Maui application that is supposed to use MSAL Authentication (B2B). The login with username and password works. However, I want to check if a valid access token is stored in the cache when the application starts. The code line var…

Andreas
- 3
- 2
0
votes
0 answers
acquiretokensilent msal angular 14 difference domains
Silent Error: BrowserAuthError: monitor_window_timeout: Token acquisition in iframe failed due to timeout. For more visit: aka.ms/msaljs/browser-errors.
const SsoSilentRequest = {
loginHint: 'Email' //Current Email…
0
votes
0 answers
Microsofts java implementation of MSAL ISingleAccountPublicClientApplication.acquireTokenSilent is deprecated, new method gives 401 unauthorized error
MSALs java methods of ISingleAccountPublicClientApplication
signIn(activity, loginHint, scopes, authenticationCallback) and acquireTokenSilent(scopes, authority) is deprecated, in favour of build methods.
So I changed the signIn to use…

Roar Grønmo
- 2,926
- 2
- 24
- 37
0
votes
0 answers
silent login WPF application?
I am trying to find how we can logged in without giving the login information on pop-up. I am trying to do it with MSAL without any login pop-up in WPF application.
I tried the below approach but here at least user have to interact with login window…

Ashok Sen
- 9
- 4
0
votes
1 answer
How to acquire an access token to a custom API using MSAL acquireTokenSilent?
I am able to obtain a valid access token for the Graph API, as there is an abundant examples/docs/tutorials for this.
However, I am unable to obtain a valid access token for my custom API.
The scope I'm using looks something like this:
"api://

AlvinfromDiaspar
- 6,611
- 13
- 75
- 140