Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the Hosted Domain ("hd") claim, for gsuite users #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

willgittoes
Copy link

Adds an additional, optional claim: "hd". This is the "hosted domain", the domain name of a google apps/gsuite user.

Useful if one is trying to create a Google-auth'd app for internal use at a company.

~~

Thanks so much for making this library, it's really useful and I'm glad to not have to make a network request to verify the JWT. No pressure to accept this PR, I'm happy to use my fork instead :)

@danielbprice
Copy link

We have exactly the same need. Can you please accept this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants