auth0 / express-openid-connect

An Express.js middleware to protect OpenID Connect web applications.
MIT License
476 stars 141 forks source link

Documentation gaps (readme.md), is this framework ONLY for auth0, or can work with any OIDC provider? #613

Closed DmitriyAlergant-T1A closed 7 months ago

DmitriyAlergant-T1A commented 7 months ago

Checklist

Description

The documentation, FAQ, examples and readme.md do not give clarity on a very simple question: is this framework Auth0-specific, or can it be used directly with other OpenID providers (ex: Microsoft, Google)?

The framework name suggests it might be generic; Yet there is zero information on its configuration for other providers (without using Auth0 as a intermediary)...

It's totally fine if it is actually Auth0-specific (this is your product after all), but then this deserves to be mentioned explicitly in the first line of README.MD.

Thanks!

Reproduction

n/a

Additional context

No response

express-openid-connect version

n/a

Express version

n/a

Node.js version

n/a

frederikprijck commented 7 months ago

This is not Auth0-Specific. But built by Auth0 so that is why the documentation is focussed on Auth0. But you are free to use it with other identity providers, and report issues along the way as the intention is to support them as long as they are OIDC compliant and the fixes are not vendor-specific.

We also refuse to add Auth0 specifics in this SDK to ensure it works with other IDPs that support OIDC, see: https://github.com/auth0/express-openid-connect/pull/615#issuecomment-2061949009

DmitriyAlergant-T1A-Rogers commented 7 months ago

Thanks for the comment; However my remark still stands - it would be great if README.md explicitly mentioned the purpose and status of this framework (in similar verbiage as you've put here). It was really confusing until I raised this issue. And the feeling was that it's likely Auth0-exclusive so I have not even tried connecting it directly with Google.

DmitriyAlergant-T1A-Rogers commented 7 months ago

The readme now says...

Getting Started ...

1. Configure Auth0

It could have said "Getting started (if you will be using Auth0)" or something like that... You got it...