diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2011-06-11 21:51:10 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2011-06-11 21:51:10 -0700 |
commit | da045c9dadb94d7bb5c62b1b3dd4613031a4c856 (patch) | |
tree | 148e4d96668f99d6a06ef19874c9f6af2811849e /samples/OAuthAuthorizationServer | |
parent | 02399ba17dafb981143c8c5e6e83e43f7c7fe4b2 (diff) | |
download | DotNetOpenAuth-da045c9dadb94d7bb5c62b1b3dd4613031a4c856.zip DotNetOpenAuth-da045c9dadb94d7bb5c62b1b3dd4613031a4c856.tar.gz DotNetOpenAuth-da045c9dadb94d7bb5c62b1b3dd4613031a4c856.tar.bz2 |
Fixed a few build breaks.
Diffstat (limited to 'samples/OAuthAuthorizationServer')
-rw-r--r-- | samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs index a29f63a..e2e4325 100644 --- a/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs +++ b/samples/OAuthAuthorizationServer/Code/OAuth2AuthorizationServer.cs @@ -53,7 +53,7 @@ // NEVER issue an auto-approval to a client that would end up getting an access token immediately // (without a client secret), as that would allow ANY client to spoof an approved client's identity // and obtain unauthorized access to user data. - if (EndUserAuthorizationRequest.ResponseType == EndUserAuthorizationResponseType.AuthorizationCode) { + if (authorizationRequest.ResponseType == EndUserAuthorizationResponseType.AuthorizationCode) { // Never issue auto-approval if the client secret is blank, since that too makes it easy to spoof // a client's identity and obtain unauthorized access. var requestingClient = MvcApplication.DataContext.Clients.First(c => c.ClientIdentifier == authorizationRequest.ClientIdentifier); |