Skip to content

[BUG] Webview doesnt display login form. #51

@xKotelek

Description

@xKotelek

Describe the bug
When i use a void:

MicrosoftAuthenticator authenticator = new MicrosoftAuthenticator();
MicrosoftAuthResult result = authenticator.loginWithWebview();
System.out.println("Logged in as: " + result.getProfile().getName());
System.out.println("UUID: " + result.getProfile().getId());
System.out.println("Access Token: " + result.getAccessToken());

it opens a popup, starts rendering the login form but then it shows me "Something happened. Please try again" (in polish)
Image

To Reproduce
Steps to reproduce the behavior:

  1. Use my code.
  2. Run the void
  3. It says that something happened

Expected behavior
It should show me login form and display profile name + uuid + access token

Screenshots
Image
Video

Desktop (please complete the following information, if Self-Hosted):

  • OS: Windows 11 24H2 (compilation 26120.3073)
  • Java version: openjdk 1.8.0_202
  • Version: 1.8

Additional context
idk

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions