# Google Cloud

* Go to the credentials page: <https://console.developers.google.com/apis/credentials>

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-da3b2a2c0bd5fb03f702089be23fa107ccb60deb%2FScreenshot%202023-03-30%20at%2010.01.45.png?alt=media" alt=""><figcaption></figcaption></figure>

* Press `create project` or select a project with the dropdown on top

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-d4962415e3198274bad2be49a110853f165355ad%2FScreenshot%202023-03-30%20at%2010.03.34.png?alt=media" alt=""><figcaption></figcaption></figure>

* Configure your consent screen if needed by pressing oAuth consent screen in the sidebar
* If you already have a consent screen, you can `press edit app` next to the name

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-f25da96782f9c12e9be7ef973704ca251e2b43e2%2FScreenshot%202023-03-30%20at%2010.05.23.png?alt=media" alt=""><figcaption></figcaption></figure>

* Make sure to add scopes in step 2

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-149949c2ac2ac9f4416cf83af7b35aa6fe99401b%2FScreenshot%202023-03-30%20at%2010.08.56.png?alt=media" alt=""><figcaption></figcaption></figure>

* Following scopes should be added: `email` , `profile` and `openid`

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-f9e29c9dd4aab8ac8616c025fa92ddbd4cb5291f%2FScreenshot%202023-03-30%20at%2010.09.44.png?alt=media" alt=""><figcaption></figcaption></figure>

* After completing the consent screen, g

  o back to credentials on the sidebar
* Now press the `create credentials` button on the top of the page

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-31703bed546616c7eca81766a18b81da20f4c04d%2FScreenshot%202023-03-30%20at%2010.14.19.png?alt=media" alt=""><figcaption></figcaption></figure>

Select `OAuth Client ID`

Select Web Application in the dropdown on the following page

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-9ce404e95604f01413a0a06a37ca1d966917851b%2FScreenshot%202023-03-30%20at%2010.16.43.png?alt=media" alt=""><figcaption></figcaption></figure>

Provide the application name and redirect uri’s and press create

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-0cf5e14fb643e4acd9e62c7a641df51889745c90%2FScreenshot%202023-03-30%20at%2010.18.22.png?alt=media" alt=""><figcaption></figcaption></figure>

You will now be provided with your Client Id and Client Secret for your application

<figure><img src="https://1471712295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mi5veV04lYlkS769Dcp%2Fuploads%2Fgit-blob-65cdffc9228d23c1ea626665d399b9c6f98cb41c%2FScreenshot%202023-03-30%20at%2010.18.52.png?alt=media" alt=""><figcaption></figcaption></figure>

Now you can go to <https://accounts.google.com/.well-known/openid-configuration> to receive the authorization url, token endpoint, user info endpoint and issuer id needed for creating the provider
