-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): Adding basic support for mobile authentication.
Mobile clients will not be using an HTTP only cookie, instead they will need to derive the token from the response directly and store it. This adds `isMobile` as a valid field for the login request, and adds parsing of the token header (with the same name as the cookie) to the authentication middleware.
- Loading branch information
1 parent
bbb9b1d
commit 89da686
Showing
2 changed files
with
30 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters