| Commit message (Collapse) | Author | Age | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
Adds discord role support to the pre-existing scopes system to power
more complex access permissions.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Removes schema from the token cookie's domain field.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
| |
Traefik forwards https traffic to http, which causes issues with the
protocol in a request's URL. This switch uses the protocol header to
correctly set the protocol.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Correctly formats the domain set on the cookie used for tokens.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
Adds a helper method to allow tokens to work on deploy previews.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
| |
This reverts commit 013ea900
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
Sets the authorization token cookie's security policy to lax, to allow
it to work on the site.
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
|
| |
Cleans up the authorize file, and the __init__ to maintain the project's
code style.
Co-authored-by: Joe Banks <[email protected]>
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
| |
Changes the name for the token used to authorize with the backend.
Co-authored-by: Joe Banks <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
| |
Signed-off-by: Hassan Abouelela <[email protected]>
|
|
|
|
|
|
|
| |
As of pyjwt 2.0.0, `jwt.encode` does not return a bytestring, so
decoding is unnecessary.
ref: https://github.com/jpadilla/pyjwt/blob/c96131b970fd341106ce33d0a85b50e3bdbb67ec/CHANGELOG.md#jwtencode-return-type
|
| |
|
| |
|
| |
|
| |
|
|
|