Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Commit

Permalink
fix cant access token action in oauth controller
Browse files Browse the repository at this point in the history
  • Loading branch information
SamLangTen committed Oct 12, 2017
1 parent 9c084ba commit b87768f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Obsidian/Controllers/OAuth/OAuth20Controller.cs
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public async Task<IActionResult> SignOut([FromForm]OAuthSignOutModel model)

[HttpPost("oauth20/token")]
[ValidateModel]
[AllowAnonymous]
public async Task<IActionResult> Token([FromBody]AuthorizationCodeGrantRequestModel model)
{
if ("authorization_code".Equals(model.GrantType, StringComparison.OrdinalIgnoreCase))
Expand Down

0 comments on commit b87768f

Please sign in to comment.