Google OpenID Connect Metadata Document

Q

What is the Google OpenID Connect Metadata Document?

✍: FYIcenter.com

A

Google OpenID Connect Metadata Document is a JSON document that contains most of the information required for an app to perform sign-in. This includes information such as the URLs to use and the location of the service's public signing keys.

You can download a copy of the metadata document for your registered application as described below:

1. Go to https://console.developers.google.com.

2. Click "Credentials" from the left menu. You see a list of client application projects and their client credentials registered previously.

3. Click and open the application project. You see properties of the selected application project.

4. Click "Download JSON" near the top. You will get the Metadata Document for the registered application. For example:

{
    "web": {
        "client_id":
        "918660693275-....apps.googleusercontent.com",
        "project_id": "MyApp",
        "auth_uri": "https:\/\/accounts.google.com\/o\/oauth2\/auth",
        "token_uri": "https:\/\/oauth2.googleapis.com\/token",
        "auth_provider_x509_cert_url": "https:\/\/www.googleapis.com\/oauth2\/v1\/certs",
        "client_secret": "......",
        "redirect_uris": [
            "http:\/\/dev.fyicenter.com\/openID_receiver.php"
        ],
        "javascript_origins": [
            "https:\/\/dev.fyicenter.com"
        ]
    }
}

 

Google OpenID Connect Authentication Request

Authentication Flows with Google OpenID Connect

Google OpenID Connect Integration

⇑⇑ OpenID Tutorials

2021-03-07, 1498🔥, 0💬