Skip to content
This repository was archived by the owner on May 1, 2018. It is now read-only.
This repository was archived by the owner on May 1, 2018. It is now read-only.

Support for Authorization header with token= #12

Description

@wichert

Not all implementations use key-value pairs for JWT. Multiple implementations and various examples floating around on the web use the token directly:

Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjF9.bg_buLtXhM78BxYfKb_qw2YvmvS9Bf-RT0b_Kgug98g

This is not support by pyramid_jwtauth currently: it insists that the you use token="...." format. So far I have not found any other implementation that uses that pattern as well, which makes me think that at least pyramid_jwtauth should not require that, and perhaps should not default to requiring it at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions