mitreid-connect / OpenID-Connect-Java-Spring-Server

An OpenID Connect reference implementation in Java on the Spring platform.
Other
1.47k stars 767 forks source link

/authorize endpoint can not be found #1467

Open zhaokewugou opened 5 years ago

zhaokewugou commented 5 years ago

I have reviewed the project code. But I can not find the java file about the endpoint "/authorize". For example, I can find the java file named TokenAPI.java for the endpoint "/tokens". Who can tell me how this project implement the "/authorize" endpoint?

jansinger commented 5 years ago

It uses Spring Security Oauth and is configured in authz-config.xml.

You can find the code of the endpoint in the Spring Security Project: AuthorizatinEndpoint.java

visweshwar commented 5 years ago

As @jansinger said these are Spring Implementations. /token is in the TokenEndpoint.java.

If you're trying to add breakpoints it wouldn't hurt to add a breakpoint on the filterproxy class to understand the filter chain.

zhaokewugou commented 5 years ago

As @jansinger said these are Spring Implementations. /token is in the TokenEndpoint.java.

If you're trying to add breakpoints it wouldn't hurt to add a breakpoint on the filterproxy class to understand the filter chain.

and what is the entrance endpoint or entrance filter of this project named "openid-connect-server-webapp"?