-
Start the project in STS as a Spring boot application or build the jar file and call it as a stand-alone Java application using the class org.dehkordi.oauth2demo.OAuth2SpringBootDemoServerApplication as application entry point. So the server will be running as a Tomcat service and listening to the http port 8080 (and ssl port 8443)
-
Import the file src/test/resources/OAuth2SpringBootDemo.postman_collection.json in Postman as new collection
-
Use the imported requests in Postman to test the OAuth2SpringBootDemo application server.
-
All default users have password "pass". Default user "admin" has the roles "ADMIN", "USER" and "ACTUATOR", default user "user" has the roles "USER" and "ACTUATOR" and default user "public" has just the role "ACTUATOR". So not each user is allowed to call any end points. To call some of end points, is an access_token needed, which can be get by call the end point "/token"
-
Have fun ...
-
I'll be thankful for your feedbacks
-
Notifications
You must be signed in to change notification settings - Fork 0
dehkordi/March16
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published