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
[ng-cloak] | |
{ | |
display: none !important; | |
} | |
.flex { | |
display: -webkit-box; /* OLD - iOS 6-, Safari 3.1-6 */ | |
display: -moz-box; /* OLD - Firefox 19- (buggy but mostly works) */ | |
display: -ms-flexbox; /* TWEENER - IE 10 */ | |
display: -webkit-flex; |
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
license: gpl-3.0 |
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
CODE_VERIFIER=`head -c 32 /dev/urandom | base64 | sed -e "s,=,,g" -e "s,+,-,g" -e "s,/,_,g"` | |
CODE_CHALLENGE=`echo -n $CODE_VERIFIER | openssl dgst -sha256 -binary | base64 | sed -e "s,=,,g" -e "s,+,-,g" -e "s,/,_,g"` |
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
from datetime import datetime | |
from datetime import timezone | |
from datetime import timedelta | |
import requests | |
import jwt | |
import os | |
import uuid | |
from cryptography.hazmat.backends import default_backend | |
from cryptography.hazmat.primitives.serialization import load_pem_private_key | |
from cryptography.x509 import load_pem_x509_certificate |