Api oauth in the works. Can be merged into main api work