You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Analyzing the logs on AzureAD side, all my attempts are a sucess, but when I check the thruk.log I get this error message, so I believe I'm missing something inside Thruk/OMD configuration files. The error I get is:
Hi all,
I'm having an issue with the AzureAD everytime I try to log in where I get the error "Cannot get oauth data".
The current configurations inside thruk_local.conf are:
<auth_oauth>
<provider 321>
login = "Login with AzureAD"
client_id = <client_id>
client_secret = <client_secret>
scopes = openid profile email
auth_url = https://login.microsoftonline.com/ID/oauth2/v2.0/authorize
token_url = https://login.microsoftonline.com/ID/oauth2/v2.0/token
api_url = https://graph.microsoft.com/v1.0/me
login_field = email
</auth_oauth>
The version I'm using:
Analyzing the logs on AzureAD side, all my attempts are a sucess, but when I check the thruk.log I get this error message, so I believe I'm missing something inside Thruk/OMD configuration files. The error I get is:
[2023/06/15 14:51:47][server1][ERROR] user: ?
[2023/06/15 14:51:47][server1][ERROR] address: 127.0.0.1
[2023/06/15 14:51:47][server1][ERROR] time: 0.1s
[2023/06/15 14:51:47][server1][ERROR] cannot get oauth data
[2023/06/15 14:51:47][server1][ERROR] {
[2023/06/15 14:51:47][server1][ERROR] 'res' => 'HTTP::Response=HASH(0x55ce25eab770)'
[2023/06/15 14:51:47][server1][ERROR] }
[2023/06/15 14:51:47][server1][ERROR] ***************************
I have max verbose on the logs and doesn't give me much information.
Could anyone help me with my issue? It could be something regarding Thruk/OMD configurations?
Thanks in advance!
Best Regards,
Bruno
The text was updated successfully, but these errors were encountered: