oh never mind prosody does have an (alpha) extension for oauth and also oidc thats cool :3 https://modules.prosody.im/mod_http_oauth2.html