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

Set up OAuth2 for only for iiitvadodara.ac.in emails #8

Open
aashutoshrathi opened this issue Mar 3, 2018 · 7 comments
Open

Set up OAuth2 for only for iiitvadodara.ac.in emails #8

aashutoshrathi opened this issue Mar 3, 2018 · 7 comments

Comments

@aashutoshrathi
Copy link
Owner

No description provided.

@Monal5031
Copy link
Collaborator

Is there any such thing to restrict the domains?

@anshumanv
Copy link
Collaborator

Not sure, motive behind this btw?

@Monal5031
Copy link
Collaborator

The portal should remain accessible only to the students of that institutes

@anshumanv
Copy link
Collaborator

I think it's easy to get the details of the email the user enrolls with, if it matches what we want then we allow auth else reject it.

@Monal5031
Copy link
Collaborator

Exactly that's what the issue demands @anshumanv but the thing here is that we don't know if we have access to the email in between of the OAuth or we can only have it after the registration

@anshumanv
Copy link
Collaborator

Okay fuck, I thought this issue is in cerebro webapp.

@HarshDobariya79
Copy link

We can create the authentication API in google cloud from an email having iiitvadodara.ac.in and set the User type to internal. If anyone outside of that domain tries to login, google will reject the request.

image

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

No branches or pull requests

4 participants