We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a88e0 commit e920682Copy full SHA for e920682
src/MakingSense.AspNet.Authentication.SimpleToken/SimpleTokenAuthenticationHandler.cs
@@ -53,7 +53,7 @@ public static string ExtractToken(HttpRequest request)
53
}
54
55
// Search in URI Query Parameter (http://tools.ietf.org/html/rfc6750#section-2.3)
56
- var tokenFromQuery = request.Query["access_token"];
+ var tokenFromQuery = request.Query["access_token"] ?? request.Query["api_key"];
57
if (tokenFromQuery != null)
58
{
59
return tokenFromQuery.Trim();
0 commit comments