Skip to content

Commit

Permalink
Merge pull request #2 from nevzatcirak/nevzatcirak-patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
nevzatcirak authored Jul 22, 2020
2 parents 019c5e6 + e5738a9 commit 60a78f0
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,17 @@ GrantedAuthority is an interface with only one method:

String getAuthority();


## Test Auth 2.0 Client
## Test Auth 2.0 with React Client
[oidc-client](https://github.com/IdentityModel/oidc-client-js) is used to support OpenID Connect (OIDC) and OAuth2 protocol for client-side. This library supports for user session and access token management.
### Building the Source
Go to react folder and follow these commands.
```bash
npm install
npm start
```
React frontend will be served at 3000 port.

## Test Auth 2.0 Postman Client
[Postman](https://www.postman.com/) with OAuth 2.0 feature might be used to test services. You can find Postman OAuth 2.0 configuration [here](https://learning.postman.com/docs/sending-requests/authorization/).

You must create client in Keycloak for Postman. You may go with Implicit Flow. You must define flow type while creating client in Keycloak.
Expand Down

0 comments on commit 60a78f0

Please sign in to comment.