Hello to everyone, I am new at Moodle, I have a problem with custom oauth2 login. So I have custom login oauth2 that is working on some other systems, but on moodle when I added oauth2 and fill necessary data in fields and when I click to login with my custom OAuth2 I get the error above, that I don't have permission to access /auth/oauth2/ on the server.
I have sudo rights on the machine, I am the admin on moodle web, I just can't get what is wrong, I am new at moodle so I don't know where is a problem and did I mistaken something.
Moodle is on apache web server.
Thanks for the help.