passport / todos-express-openidconnect

Todo app using Express, Passport, and SQLite for sign in via OpenID Connect.
The Unlicense
20 stars 16 forks source link

Implement also OpenID Provider? #3

Closed ile closed 1 year ago

ile commented 1 year ago

I don't think this code is finished. For example, when running on localhost, it tries to authenticate in this address: (which fails): https://server.example.com/.

A working example would be nice. :)

ile commented 1 year ago

Ok, on a second thought, I think this requires and OpenID Provider. I thought this would implement also the provider.

Would it be possible to make it work as an OpenID Provider? Might be more helpful for many.

ile commented 1 year ago

Looking at this some more, I think a package like https://github.com/panva/node-oidc-provider is a good one to use for this.