Skip to content

Instantly share code, notes, and snippets.

View iartarisi's full-sized avatar
💭
🐝

Ion Arțăriși iartarisi

💭
🐝
  • London, UK
View GitHub Profile
@iartarisi
iartarisi / hybrid
Last active October 7, 2015 14:07
Hybrid Identity backend for Keystone on top of the LDAP and SQL backends
This has moved to its own repository at:
https://github.com/SUSE-Cloud/keystone-hybrid-backend
(use http-client intarweb uri-common getopt-long json)
(define authorization-method
'#(basic ((username . "user") (password . "pass"))))
(define (github-get-auth path)
(with-input-from-request
(make-request method: 'GET
uri: (uri-reference (string-append
"https://api.github.com/" path))