microsoft / azure-tools-for-java

Azure tools for Java, including Azure Toolkits for Eclipse, IntelliJ and related projects.
Other
238 stars 158 forks source link

IntelliJ azure plugin authentication just doesn't work #7156

Open evkaky opened 1 year ago

evkaky commented 1 year ago

IntelliJ 2022.3, apple m1 MacBook, macOS 13.0.1 Here is what I see when trying to sign in azure in intellij (I chose "OAuth 2.0" option but this error occurs with any option)

image
wangmingliang-ms commented 1 year ago

I am not able to reproduce this issue with MacBook Pro/Apple M1 Pro/macOS Ventura 13.0.1. But we have observed this error sometimes. this issue should be related to https://github.com/Azure/azure-sdk-for-java/issues/23622 and https://github.com/Azure/azure-sdk-for-java/issues/23622 we have ever fixed the same issue for M1+older intellij, we'll investigate why it appears again after upgrading to 2022.3.

evkaky commented 1 year ago

The auth neither works on IntelliJ 2023.1 (still on apple M1 /macOS Ventura 13.2.1) Error message is exactly the same

Flanker32 commented 1 year ago

The auth neither works on IntelliJ 2023.1 (still on apple M1 /macOS Ventura 13.2.1) Error message is exactly the same

Hi @evkaky and sorry for the trouble, as a workaround, could you please try disable the authentication cache and try again?

image