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

302 error #1474

Open edmundday opened 5 years ago

edmundday commented 5 years ago

I am getting:

129.12.217.110 - - [25/Mar/2019:12:21:07 +0000] "OPTIONS /openid-connect-server-webapp/authorize?client_id=xxx&redirect_uri=http://localhost:8080/swagger-ui.html&response_type=code&scope=openid%20email&state=NS2EbP HTTP/1.1" 302

when I try to authorize in Spring Boot using restTemplate.getAccessToken() using:

oidc.clientId=xxx oidc.clientSecret=asecret oidc.accessTokenUri=http://myserver:8080/openid-connect-server-webapp/token oidc.userAuthorizationUri=http://myserver:8080/openid-connect-server-webapp/authorize oidc.redirectUri=http://localhost:8080/swagger-ui.html oidc.issuer=http://myserver:8080/openid-connect-server-webapp/ oidc.jwkUrl=http://myserver:8080/openid-connect-server-webapp/jwk

Any ideas?