added support for Implicit and Client Credentials flows