Announcement Announcement Module
No announcement yet.
How to intercept the JSON token info? Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to intercept the JSON token info?


    Is there a way to intercept somehow the JSON that comes back with the token? It looks strange that I'm asking for this, but the provider is sending on the JSON envelope more info besides the token and it will be good to get that info instead of doing another query to the provider.

    Thank you.

  • #2
    The way to do this is to implement your own custom instance of erializationService. (Consider extending OAuth2SerializationService.)

    The tricky part is wiring it up. There should be config attribute for you, but there isn't. Woops. There's one on the provider-side, but not on the client-side. I've opened up a JIRA issue for you:

    Right now, you've got to deal with a big mess of wiring up your custom beans. How bad do you need it before 1.0.0.M4?


    • #3
      Hey don't worry I can't wait until M4 gets out.

      I just need to do one more query to get the info I need no big deal.

      Thanks again for your help.