Yes, perfectly fine . OAuth is a protocol which contains certain guidelines and rules. Implementation of OAuth can be done using JWT.
Read moreIs OAuth2 same as JWT?
JWT and OAuth2 are entirely different and serve different purposes, but they are compatible and can be used together . The OAuth2 protocol does not specify the format of the tokens, therefore JWTs can be incorporated into the usage of OAuth2.
Read moreWhich is better JWT or OAuth2?
JWT implementation is very easy and does not take long to implement. If your application needs this sort of flexibility, you should go with OAuth2 . But if you don’t need this use-case scenario, implementing OAuth2 is a waste of time.
Read moreDoes JWT use OAuth?
JSON Web Token (JWT, RFC 7519) is a way to encode claims in a JSON document that is then signed. JWTs can be used as OAuth 2.0 Bearer Tokens to encode all relevant parts of an access token into the access token itself instead of having to store them in a database.
Read moreIs JWT secure?
JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object. This information can be verified and trusted because it is digitally signed .
Read more