diff options
Diffstat (limited to 'projecttemplates/MvcRelyingParty/Controllers/AccountController.cs')
-rw-r--r-- | projecttemplates/MvcRelyingParty/Controllers/AccountController.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs b/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs index 8e35f37..864a38e 100644 --- a/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs +++ b/projecttemplates/MvcRelyingParty/Controllers/AccountController.cs @@ -79,9 +79,9 @@ IDirectedProtocolMessage response; if (isApproved) { Database.LoggedInUser.ClientAuthorizations.Add( - new ClientAuthorization { + new ClientAuthorization() { Client = requestingClient, - Scope = pendingRequest.Scope, + Scope = string.Join(" ", pendingRequest.Scope.ToArray()), User = Database.LoggedInUser, CreatedOnUtc = DateTime.UtcNow.CutToSecond(), }); |