[mitreid-connect] make simple-web-app work with google accounts

Rafael Weingartner rafaelweingartner at gmail.com
Tue Jan 20 07:40:19 EST 2015


Sure I have,

Go to https://security.google.com/settings/security/permissions?pli=1
And check if you have somehow already given permission to your application
to access your personal data.

On Mon, Jan 19, 2015 at 6:45 PM, dejw <dejw at man.poznan.pl> wrote:

> OK I am one step further - it turned out that after upgrading jars i
> simple-web-app to have support for enableNonce parameter some of it was
> missing. Another this was that client secret also must be set. Now I do
> not have the error as previously.
> For some reason I can't get Google Login form and I get logged in
> somehow without it but it isn't possible to get user info (what is
> indeed logical consequence). I have to check why I can't get login form
> displayed (this step is missing for me now).
> Have some of you tested it and got the form displayed properly?
>
> Best regards,
> Dawid
>
> On 2015-01-18 21:27, dejw wrote:
> > Hello,
> >
> > I tried to reconfigure simple-web-app to make it work with Google
> > Accounts. I tried to apply this manual:
> >
> >
> https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Sample-Static-Configuration-for-using-Google-Authentication
> >
> > Unfortunately it didn't work for me and I got such error:
> >
> > java.lang.NullPointerException
> >
> org.mitre.openid.connect.client.service.impl.StaticClientConfigurationService.getClientConfiguration(StaticClientConfigurationService.java:65)
> >
> org.mitre.openid.connect.client.OIDCAuthenticationFilter.handleAuthorizationCodeResponse(OIDCAuthenticationFilter.java:294)
> >
> org.mitre.openid.connect.client.OIDCAuthenticationFilter.attemptAuthentication(OIDCAuthenticationFilter.java:170)
> >
> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:211)
> >
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
> >
> > It might be my error so I'd like to ask if it is possible to get some
> > example servlet-context.xml file which worked for anybody?
> >
> > Best regards,
> > Dawid Szejnfeld
> > _______________________________________________
> > mitreid-connect mailing list
> > mitreid-connect at mit.edu
> > http://mailman.mit.edu/mailman/listinfo/mitreid-connect
> >
>
> _______________________________________________
> mitreid-connect mailing list
> mitreid-connect at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mitreid-connect
>



-- 
Rafael Weingärtner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/mitreid-connect/attachments/20150120/be71317a/attachment.htm


More information about the mitreid-connect mailing list