toblum / ESPTeamsPresence

Microsoft Teams presence light for ESP32
https://toblum.github.io/ESPTeamsPresence/
Mozilla Public License 2.0
127 stars 37 forks source link

No login Code #25

Closed CygnSoft closed 1 year ago

CygnSoft commented 2 years ago

Hey, I want to build my Presence Light but I can't get a code in "Start device login".

grafik

toblum commented 2 years ago

Hi @DannyEss,

unfortunately I wasn't able to answer for some weeks because I broke my hand. Is this still an issue?

To see what happens, it would be great to have a look at the serial console of the device when it's plugged in to a PC.

Greetings Tobias

brian-inksmith commented 2 years ago

@toblum I am getting the same thing as @DannyEss On the console it says [HTTPS] Connection refused

The fix was to comment the disablecertcheck //#define DISABLECERTCHECK 1

riraosan commented 2 years ago

Hi @DannyEss

Here is my log, I am not able to get the code because I am not able to communicate over SSL due to lack of SRAM. Are you in the same situation as me? If there is only about 90KB of heap memory left when the program is executed, the SSL communication process will fail.

This incident is very common.

2022-08-09_222915 2022-08-09_222939

icaputo commented 1 year ago

I had the same issue, fixed using the default client ID (and not my own) Client-ID: 3837bbf0-30fb-47ad-bce8-f460ba9880c3

Works perfectly!

fabianocattaneo commented 1 year ago

I'm having the same issue (no code) even if I am using the default client ID.

Any suggestion?

toblum commented 1 year ago

@fabianocattaneo Do you have access to the device console? Or the Azure AD Enterprise apps? This would be helpful.

Also please have a look here: https://github.com/toblum/ESPTeamsPresence/issues/23#issuecomment-1452553793

fabianocattaneo commented 1 year ago

Indeed I really don't know what happened, a recompile and reflash fixed the issue and it is working ok right now.

toblum commented 1 year ago

@fabianocattaneo Great! Sometimes it just happens that way with software. :-)