Oauth using google

Hi, I am trying to create a web application and want integrate my grafana dashboard in it. So I want to create a login page with google auth using firebase and when user is logged it it should redirect to my grafana dashboard without asking for logging in to grafana again and logged in using the same credentials.