antonleliuk / spring-social-botFramework

Skype BotFramework API binding and connect support
Apache License 2.0
4 stars 1 forks source link

Token recreated: ExpiredAuthorizationException #18

Closed zotona closed 7 years ago

zotona commented 7 years ago

It seems, what token is not recreated. How to make properly recreate token?

in context with path [] threw exception [Request processing failed; nested exception is org.springframework.social.ExpiredAuthorizationException: The authorization has expired.] with root cause

org.springframework.social.ExpiredAuthorizationException: The authorization has expired.
        at org.springframework.social.connect.support.OAuth2Connection$ApiInvocationHandler.invoke(OAuth2Connection.java:150) ~[spring-social-core-1.1.4.RELEASE.jar!/:1.1.4.RELEASE]
        at com.sun.proxy.$Proxy100.sendToConversation(Unknown Source) ~[?:?]
        at org.springframework.social.botframework.service.impl.BotServiceImpl.reply(BotServiceImpl.java:49) ~[spring-social-botframework-core-0.0.3.jar!/:?]
antonleliuk commented 7 years ago

@zotona in current implementation no way. I thought is should do a Spring social, but it was my mistake when a create single instance of BotFramework

antonleliuk commented 7 years ago

Close #8 after fixing this