summaryrefslogtreecommitdiffstats
path: root/samples/ServiceProvider/App_Code/Global.cs
diff options
context:
space:
mode:
Diffstat (limited to 'samples/ServiceProvider/App_Code/Global.cs')
-rw-r--r--samples/ServiceProvider/App_Code/Global.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/samples/ServiceProvider/App_Code/Global.cs b/samples/ServiceProvider/App_Code/Global.cs
index 311d415..7e8d92d 100644
--- a/samples/ServiceProvider/App_Code/Global.cs
+++ b/samples/ServiceProvider/App_Code/Global.cs
@@ -75,7 +75,8 @@ public class Global : HttpApplication {
}
public static void AuthorizePendingRequestToken() {
- TokenManager.AuthorizeRequestToken(PendingOAuthAuthorization.RequestToken, LoggedInUser);
+ ITokenContainingMessage tokenMessage = PendingOAuthAuthorization;
+ TokenManager.AuthorizeRequestToken(tokenMessage.Token, LoggedInUser);
PendingOAuthAuthorization = null;
}