Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

70
Views
Restrict Sign In with Google to specific domain

I was reading the documentation for the new "Sign In with Google" (https://developers.google.com/identity/gsi/web/reference/html-reference). However, I'm unable to find a way to restrict login to a specific hosted domain i.e. if my college uses Google Workspace accounts with their own domain, I'd like to restrict login to only those accounts.

Note: This is what I used earlier on.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

To restrict sign-ins to users of your own organization's Cloud Identity or Workspace account, you can set the OAuth consent screen to internal.

To restrict sign-ins to a set of domains, extend your app to check the hd claim in the ID token, which contains:

The hosted G Suite domain of the user. Provided only if the user belongs to a hosted domain.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!