oauth2-server icon indicating copy to clipboard operation
oauth2-server copied to clipboard

How to start the server ?

Open cgarrotti opened this issue 4 years ago • 1 comments

Hi, How i can start the server ?

cgarrotti avatar Oct 16 '20 15:10 cgarrotti

@cgarrotti you can take a look into the example app.

Server definition (using embedded jetty) https://github.com/clouway/oauth2-server/blob/master/oauth2-example-app/src/main/java/com/clouway/oauth2/app/AppServer.java#L26

Here is the servlet definition (the example is using Guice, but it could be added in any servlet environment) https://github.com/clouway/oauth2-server/blob/master/oauth2-example-app/src/main/java/com/clouway/oauth2/exampleapp/OAuthAuthorizationServerModule.java#L31

mgenov avatar Oct 17 '20 12:10 mgenov