I have the following requirement:
- create a user on AD B2C.
- using the credentials of that user, I need to get access token and refresh token to access an existing api(REST SERVICE).
Active directory here is Azure AD.
I am new in oAuth and Azure. Please suggest me the steps and configuration to achieve this. (I do not want any user interaction to get access token and refresh token). creating a user is clear to me. but if it requires any specific type of user or any required permissions, please suggest those.