badgateway / oauth2-client

OAuth2 client for Node and browsers
https://www.npmjs.com/package/@badgateway/oauth2-client
MIT License
284 stars 34 forks source link

Full rewrite + new features #53

Closed evert closed 2 years ago

evert commented 2 years ago

I had to add support for the OAuth2 discovery document, and I was doing this I realized that the existing structure didn't work well enough for for this change.

So, I started making changes but this quickly escalated to a full BC-breaking rewrite. This PR will be 'v2' !

Highlights:

I'm making no attempt to preserve backwards compatibility (sorry!) but I think migrating should not be incredibly difficult. All the same features are there, the setup is just different.

This library may need a new name!