Widen / cloudfront-auth

An AWS CloudFront Lambda@Edge function to authenticate requests using Google Apps, Microsoft, Auth0, OKTA, and GitHub login
ISC License
626 stars 149 forks source link

OneLogin or generic provider support #31

Open StylishFlash opened 5 years ago

StylishFlash commented 5 years ago

We are using OneLogin as Identity provider which has OpenID Connect. We used the existing configuration for Okta and got it working with OneLogin. However we feel like some Okta-specific config is propably redundant for usage with OneLogin.

So my question is, can you add a specific configuration for OneLogin or a more general OpenID Connect configuration which can be used for providers that are not listed?

payton commented 5 years ago

This idea has been played with. It just requires a bit more thought on the best way to fully support the standard. I've done some work with attempting to make it generic but haven't found the perfect way quite yet. In terms of supporting OneLogin, you're more than welcome to make a PR if there were any changes you needed to make (or perhaps modify the OKTA option to be OKTA/OneLogin