Grafana user management

Hello i am writing a service which is using different service api to log in and i would like it to authorize also to grafana is it somehow possible ?