fromi / spring-google-openidconnect Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Great work! I am using your code to migrate existing OpenID login code to OpenID connect.
What would be the equivalent of posting to j_spring_openid_security_check
?
Thank you for this example! I have one minor improvement. Google is giving back the names in UTF-8, but that may not be the default encoding the browser chooses. This minor change will allow the controller to display international names correctly:
@RestController
public class SampleSecuredController {
@RequestMapping(value = "/test", produces = "text/plain; charset=UTF-8")
public String test() {
Good POC. Thanks for putting this together, really appreciated.
I have 2 questions:
I am trying to run the POC in an external Tomcat and i always end up with 404. though the poc works fine when i run in embedded tomcat using Spring Boot.
I followed this writeup
https://spring.io/blog/2014/03/07/deploying-spring-boot-applications
to run the app in a standalone tomcat, i still have the issue. Do you have any suggestions on this front?
I would also like to run your POC in JDK1.7. Is there a way to create the authenticationManager programatically, or i would have to use the XML.
Thanks for your help.
I am migrating from OpenID to OpenID Connect. Now Google advises to add the openid.realm
parameter and an id_token
to the authentication request URI (see https://developers.google.com/accounts/docs/OpenID for details) so the old identifier can be mapped to the new one.
How can this be done? Should I subclass BaseOAuth2ProtectedResourceDetails
?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.