I found a solution to this issue.
You can check on the authentication forum since I put my question here by mistake.
Here is the link
[https://moodle.org/mod/forum/discuss.php?d=340583#p1373651]
Installing and upgrading help
app_not_configured_for_user, Google, Moodle, SAML2
This discussion has been locked so you can no longer reply to it.