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

Inbound IAP Authentication Integration #28

Closed
iamacarpet opened this issue Sep 5, 2018 · 3 comments
Closed

Inbound IAP Authentication Integration #28

iamacarpet opened this issue Sep 5, 2018 · 3 comments
Assignees

Comments

@iamacarpet
Copy link
Member

Validate the IAP headers as required to validate it is turned on.

Can we go further and integrate it into Laravel's user system?

@iamacarpet
Copy link
Member Author

Two separate middlewares required, one for interactive users and one for service-to-service API style.

@iamacarpet
Copy link
Member Author

Already using Google Auth with Laravel using socialite, which does integrate into the user system, so we'll just need to create a middleware to make it work IAP style if that's what we want, which shouldn't be too hard.

@iamacarpet
Copy link
Member Author

This is done in the latest commit.

We've been able to allow Google to do most of the hard work for us and just validate against the Users API headers that they include, with a stateless check, integrated into Laravel's user system, that works for both web & API requests.

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

No branches or pull requests

1 participant