OAuth 2.0 Authorization Code Flow

Follow the steps to complete the Authorization Code Flow and access the Resource Server.

Client

Authorization Server

                           

if (username == "admin" && password == "admin") { print(User validated!!) }

Database

ID Username Password
1 admin admin
Credential Validation Area

Resource Server

Name: admin

Role: admin

Access: root