external auth

ref. to https://github.com/Codiad/Codiad/issues/547