We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instead of this: https://github.com/jchannon/Owin.StatelessAuth/blob/master/src/Owin.StatelessAuthExample.Tests/HomeModuleTests.cs#L74
it should be
public void AddAuthHeader(HttpClient client) { client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue( "Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJJc3N1ZXIiOiJodHRwOi8vaXNzdWVyLmNvbSIsIkF1ZGllbmNlIjoiaHR0cDovL215Y29vbHdlYnNpdGUuY29tIiwiQ2xhaW1zIjpbeyJJc3N1ZXIiOiJMT0NBTCBBVVRIT1JJVFkiLCJPcmlnaW5hbElzc3VlciI6IkxPQ0FMIEFVVEhPUklUWSIsIlByb3BlcnRpZXMiOnt9LCJTdWJqZWN0IjpudWxsLCJUeXBlIjoiaHR0cDovL3NjaGVtYXMubWljcm9zb2Z0LmNvbS93cy8yMDA4LzA2L2lkZW50aXR5L2NsYWltcy9yb2xlIiwiVmFsdWUiOiJBZG1pbmlzdHJhdG9yIiwiVmFsdWVUeXBlIjoiaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEjc3RyaW5nIn0seyJJc3N1ZXIiOiJMT0NBTCBBVVRIT1JJVFkiLCJPcmlnaW5hbElzc3VlciI6IkxPQ0FMIEFVVEhPUklUWSIsIlByb3BlcnRpZXMiOnt9LCJTdWJqZWN0IjpudWxsLCJUeXBlIjoiaHR0cDovL3NjaGVtYXMueG1sc29hcC5vcmcvd3MvMjAwNS8wNS9pZGVudGl0eS9jbGFpbXMvbmFtZSIsIlZhbHVlIjoiRnJlZCIsIlZhbHVlVHlwZSI6Imh0dHA6Ly93d3cudzMub3JnLzIwMDEvWE1MU2NoZW1hI3N0cmluZyJ9XSwiRXhwaXJ5IjoiXC9EYXRlKDQ1NjI0MjIxNDY2MjYpXC8ifQ.SDCE1lfXmvbrkQ5rBQ_UizhdEqUDFR4HHKjiLMkmIpc"); }
Perhaps ITokenValidator could be extended to:
ITokenValidator
interface ITokenValidator { ClaimsPrincipal ValidateToken(string authType, string token); }
The text was updated successfully, but these errors were encountered:
Consider making Bearer the default authentication scheme and allow users to override it.
Bearer
Sorry, something went wrong.
Yup makes sense, thought it was doing that already tbh
hmm StatelessAuth doesn't give you the ability to return Digest challenges correctly https://tools.ietf.org/html/rfc2617#section-3.5 (edited)
Digest
(╯°□°)╯︵ ┻━┻
brb, got some yaks to shave
No branches or pull requests
Instead of this: https://github.com/jchannon/Owin.StatelessAuth/blob/master/src/Owin.StatelessAuthExample.Tests/HomeModuleTests.cs#L74
it should be
Perhaps
ITokenValidator
could be extended to:The text was updated successfully, but these errors were encountered: