Skip to content

Commit

Permalink
WIP for O365 MFA. issue #2724
Browse files Browse the repository at this point in the history
  • Loading branch information
j-dimension committed Dec 6, 2024
1 parent c7793ea commit 81e0e69
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -684,13 +684,13 @@ You should also get your employer (if you work as a programmer) or school,
public class EmailServiceTest extends TestCase {

// for initial token
private static String TENANT_ID = "";
private static String TENANT_ID = "1350ac73-8099-4367-b158-33e900f67387";
private static String DEVICE_CODE_URL = "https://login.microsoftonline.com/" + TENANT_ID + "/oauth2/v2.0/devicecode";

// for refreshing tokens
private static final String TOKEN_ENDPOINT = "https://login.microsoftonline.com/" + TENANT_ID + "/oauth2/v2.0/token";
private static final String CLIENT_ID = "";
private static final String CLIENT_SECRET = "";
private static final String CLIENT_ID = "9716b0ae-770d-40d8-a1f8-98a7c2397509";
private static final String CLIENT_SECRET = "0Ea8Q~AyeRO1K.acyXRl_GkaeJKK3GxMuY-Eva1g";

private static String accessToken = null; // Store access token in memory
private static String refreshToken = "your-initial-refresh-token"; // Replace with your stored refresh token
Expand Down

0 comments on commit 81e0e69

Please sign in to comment.