Skip to content

Commit

Permalink
report when client_id is missing, with/without AAL: LOW
Browse files Browse the repository at this point in the history
  • Loading branch information
floatingatoll committed May 1, 2024
1 parent c8f2b17 commit 813be13
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tools/client_id_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@
begin

client_id = app["application"]["client_id"]
unless client_id.nil?
if client_id.nil?
url = app["application"]["url"]
aal = app["application"]["AAL"]
if aal.nil? or aal != "LOW"
puts "no client_id and no AAL: LOW for #{url}"
else
puts "no client_id for #{url}"
end
else
client_ids.append(client_id)
end
rescue
Expand Down

0 comments on commit 813be13

Please sign in to comment.