A little new to OAUTH and wanted to ask if I understood something correctly. I use OWIN and C # and I am setting up the following script:
the user makes a request to my token endpoint, passing in a username / password of type grant_type. If the credentials are valid, I create a JWT.
The user returns a JWT, and then the client uses this token for all requests
Any requests that require authorization, I use token requests to ensure that the user is allowed to make this request.
So what are client_id and client_secret? Is this just an additional level of security to say "before you can even get the token, you need to give me another set of credentials (id / secret), and only if they are valid, in addition to your username and password, you will return jwt?
I would like to understand who are connected with each other - Thank you very much!
source share