You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.
In 2.0.0-RC.4, work was done to allow multiple authentication middlewares to exist for a route optionally. However, for TokenAuthenticationMiddleware the following line still throws an Abort:
This should be try? so TokenAuthenticationMiddleware works optionally as intended.
The text was updated successfully, but these errors were encountered:
andrewtheis
changed the title
TokenAuthenticationMiddleware still requires a token
TokenAuthenticationMiddleware still throws an Abort (is not optional)
May 10, 2018
In 2.0.0-RC.4, work was done to allow multiple authentication middlewares to exist for a route optionally. However, for TokenAuthenticationMiddleware the following line still throws an Abort:
auth/Sources/Authentication/Token/TokenAuthenticationMiddleware.swift
Line 17 in c8594a4
This should be
try?
so TokenAuthenticationMiddleware works optionally as intended.The text was updated successfully, but these errors were encountered: