I am thinking about using OAuth to grant application access to user resources. Everything works in a closed company environment.
First flow I thought about was authorization code flow and everything looks as I need, but I don't want to ask user to authorize access, because it's internal company's application and account and there is no reason for the user to not grant it. I want to ask user for login and password, go back to the application with authorization code and ask for access token to resource with this authorization code, client's id and client's secret. Is there something like this described in OAuth? Or removing step where I ask user to authorize is breaking OAuth and it would be my implementation which looks just like OAuth?
I know there is client credentials flow but I would have to give application grant access to every user resource right? Or is there something that I am missing?