Results 1 to 5 of 5

Thread: Invalidate provider session

  1. #1
    Join Date
    Oct 2010
    Posts
    2

    Default Invalidate provider session

    We are using version 3.19.SS3 with Spring Security 3.0.3.

    We would like to not block access to the provider site when a user logs out of the consumer site.

    Is there a call to invalidate the provider's access token when the user logs out of the consumer application?

    Thanks

  2. #2

    Default spring webflow migration from 1.0.4 to 2. 0

    Hi everyone,
    iam migrating my application from Spring-webflow.1.0.4 to spring-webflow.2.0
    iam getting compilation eroors that ApplicationView and ViewSelection not resolved please help me any other solution regarding this..

  3. #3

    Default

    Quote Originally Posted by mdevendar@gmail.com View Post
    Hi everyone,
    iam migrating my application from Spring-webflow.1.0.4 to spring-webflow.2.0
    iam getting compilation eroors that ApplicationView and ViewSelection not resolved please help me any other solution regarding this..
    Dude, this is the OAuth forum...pick the Web Flow forum if you have troubles with Web Flow: http://forum.springsource.org/index.php

  4. #4
    Join Date
    May 2008
    Location
    Salt Lake City
    Posts
    167

    Default

    We would like to not block access to the provider site when a user logs out of the consumer site.
    Wait... I don't get it... I presume by your question that you want to invalidate the access token on the provider-side when the user logs out. Is that right?

    Is there a call to invalidate the provider's access token when the user logs out of the consumer application?
    The OAuth spec doesn't specify how a consumer can invalidate a provider access token, nor does it specify the lifecycle of the token. It's left up to the implementors to do that.

    Basically, you'll have to write custom code to invalidate the access token since the way to do that is custom to the provider.

  5. #5
    Join Date
    Oct 2010
    Posts
    2

    Default

    Thanks for the reply.

    Sorry, the first line should read "block access to the provider site when the user logs out of the consumer site".

    We currently found a workaround using the logout URL of the provider defined in the <form-login/> element. This destroys the session which seems to be storing the oauth token. So when the user logs out the consumer site, an HTTP GET is sent to the provider logout URL as well. Not very elegant.

    Quote Originally Posted by stoicflame View Post
    Wait... I don't get it... I presume by your question that you want to invalidate the access token on the provider-side when the user logs out. Is that right?



    The OAuth spec doesn't specify how a consumer can invalidate a provider access token, nor does it specify the lifecycle of the token. It's left up to the implementors to do that.

    Basically, you'll have to write custom code to invalidate the access token since the way to do that is custom to the provider.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •