crestfall-sh / modules

Crestfall Modules
MIT License
5 stars 0 forks source link

extract authz into response.bearer_token #14

Open joshxyzhimself opened 1 year ago

joshxyzhimself commented 1 year ago
assert(request.headers.has('authorization'));
const authorization = request.headers.get('authorization');
assert(authorization.startsWith('Bearer '));
const bearer_token = authorization.slice(7);
joshxyzhimself commented 1 year ago

x hmac token x hmac signature also jwt