okay Internet, I need your suggestions:
I have a static website that I can't modify, and I want to host it on some platform that I can tie to an arbitrary OpenID Connect provider so that only certain people can access it.
What's the easiest way to do this?
9
2
11
I have spent no joke like 4 hours trying to do this on @netlify already today and cannot for the life of me figure it out
2
1
can you say more about what the ideal workflow is? if you can set a cookie, you can allow/deny access based on cookie presence docs.netlify.com/routing/red…
2
Ideally I'd have something like a Netlify function run on every incoming request to check the presence of a cookie, validate it, and based on the result, either send an HTTP redirect to start an OIDC flow, or return the static file requested.
1
That's promising, but can I use an external OpenID Connect IDP for that? I don't want to manage users in Netlify
Jul 23, 2021 · 11:03 PM UTC
1


