'I have url, user name and password as input and provide an OAuth 2 token?

URL1: Token URL URL 1 takes user name and password as input and provide an OAuth 2 token Url2: Hello world URL

Hello world

URL 2 uses the token, validates it

if valid token

it shows "Hello user" the user is the user name



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source