Questions tagged [msal4j]

5 questions
0
votes
1 answer

Why do I get a 401 response code for accessing a sharepoint file?

I want to read data from the xls file rows in java,the code looks like this: String clientSecret = "valid_secret"; String clientId = "valid_clientid"; String authority =…
0
votes
0 answers

Msal4j ignoring responses for loopback URL with path

I'm trying to use the interactive authorization API to generate a token to use to connect to an azure resource from my desktop application. The client id that I am using in the request has a local loopback url registered that includes a path…
0
votes
1 answer

B2C Authority String doesn't work with MSAL4J

We're implementing Microsoft B2C and I am charged with using MSAL4J 1.13.4 for our java-based web-app clients. I've been provided with an Authority string but it doesn't work against MSAL4J due to the…
0
votes
0 answers

Using javax.mail with Microsoft OAuth

Since Microsoft has announced that they are going to deprecate password auth for their SMTP services. I am trying to substitute Password Auth for javax.mail with OAuth. However, I am getting an exception with the message 535 5.7.3 Authentication…
0
votes
1 answer

Refresh Azure AD access token

I am working on a web app where users can login withe their personal Microsoft. After login I store the access token and the refresh token so that I can later retrieve some data from their Microsoft account. While the access token is valid,…
Petre Popescu
  • 1,950
  • 3
  • 24
  • 38