Skip to content

Commit

Permalink
Report Azure auth error description
Browse files Browse the repository at this point in the history
This contains useful information like the fact that keys have expired.
  • Loading branch information
threedaymonk committed Dec 16, 2024
1 parent fdac119 commit c09dff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/microsoft_graph/application_authenticator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_access_token

@access_token
else
raise AuthenticationFailureError, json["error"]
raise AuthenticationFailureError, [json["error"], json["error_description"]].compact.join(": ")
end
end

Expand Down

0 comments on commit c09dff8

Please sign in to comment.