...
PortalProtect can act as a Resource Owner, an Authorization Server and as a Resource Server as defined in the standard.
Usage
...
Scenario
Imagine this usage scenario;
...
One way of providing this information is demonstrated with the sample Authentication Plugin “DemoOAuth2AuthenticationPlugin” provided in source code form along with the PortalProtect’s distribution. It works together with an Oauth2Servlet in the provided sample web application, which allows the user to identify himself and prompts him to grant access to a client asking for an authorization code / bearer token.
Example
...
Requests
An example request to obtain a new bearer toking using the implicit grant method is here:
https://www.portalprotect.dk/oauth2/auth?response_type=token&client_id=broker&redirect_uri=https%3A%2F%2Fwww.some.broker.com/oauth2&scope=name+email&state=somestate
...