Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Fix logic
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarbettini committed May 18, 2017
1 parent 1e12780 commit 14afbc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Stormpath.Owin.Middleware/AccessTokenValidator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public Task<TokenIntrospectionResult> ValidateAsync(string token, CancellationTo
_configuration.OktaEnvironment.ClientId,
_configuration.OktaEnvironment.ClientSecret);
var orphanValidationResult = orphanValidator.ValidateAsync(token);
if (orphanValidationResult != null)
if (orphanValidationResult != TokenIntrospectionResult.Invalid)
{
return Task.FromResult(orphanValidationResult);
}
Expand Down

0 comments on commit 14afbc4

Please sign in to comment.