Git Product home page Git Product logo

spring-security-oauth2-client's People

Contributors

gitter-badger avatar joshvote avatar pwheel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spring-security-oauth2-client's Issues

Authentication Failed: Received states null was not equal to original state null

Hello!
I have issue using your library.
Authentication Failed: Received states null was not equal to original state null This is the exception I got after using your classes. I checked xml and everything looks good. This is my xml:

`


<beans:bean id="oAuth2EntryPoint" class="oauth.OAuth2AuthenticationEntryPoint">
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<beans:bean id="oauth2AuthFilter" class="oauth.OAuth2AuthenticationFilter">
    <beans:constructor-arg name="defaultFilterProcessesUrl" value="/internal"/>
    <beans:property name="authenticationManager" ref="authenticationManagerClient"/>
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<beans:bean id="oauth2AuthenticationProvider" class="oauth.OAuth2AuthenticationProvider">
    <beans:property name="authenticatedUserDetailsService" ref="oAuth2UserDetailsService"/>
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<authentication-manager alias="authenticationManagerClient">
    <authentication-provider ref="oauth2AuthenticationProvider">
    </authentication-provider>
</authentication-manager>

<beans:bean id="oauth2ServiceProperties" class="oauth.OAuth2ServiceProperties">
    <beans:property name="accessTokenUri" value="http://localhost:9999auth/oauth/token"/>
    <beans:property name="userAuthorisationUri" value="http://localhost:9999/auth/oauth/authorize"/>
    <beans:property name="additionalAuthParams">
        <beans:map>
            <beans:entry key="scope" value="openid"/>
        </beans:map>
    </beans:property>
    <beans:property name="redirectUri" value="http://localhost:9000/"/>
    <beans:property name="clientId" value="acme"/>
    <beans:property name="clientSecret" value="acmesecret"/>
    <beans:property name="userInfoUri" value="http://localhost:9999/auth/user"/>
</beans:bean>

<beans:bean id="oAuth2UserDetailsService" class="oauth.OAuth2UserDetailsService">
    <beans:property name="oAuth2UserDetailsLoader" ref="userFacade"/>
    <beans:property name="oAuth2ServiceProperties" ref="oauth2ServiceProperties"/>
</beans:bean>

<beans:bean id="userFacade" class="oauth.UserFacade"/>`

And when I try to open/internal link in my app, this exception appears. What I'm doing wrong?

App Example

Sorry for contacting you throught issue,

I'm trying to use your project as my authentication provider but i found some difficulties in implementing your project.. i think i miss something but i don't really sure about what i have missed. would you like to share me some project that is successfully implement this project?

Thanks,

question regarding the postCreated service

in the comments you mention: "For example they could set something in the session so that the authentication success handler can treat the first log in differently."

could just be my rust (6 years away from spring and java) but how would one get the session in that service class?

thanks!

Is this still being maintained?

Hi, wondering if this is still being maintained?

I'm working on getting this working with google at the moment and was wondering whether it was worth trying to commit changes back?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.