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:
This library is now becoming a general OAuth2 client library, with the fetch wrapper being just 1 of its features.
The structure now lends itself better for new features such as revoke, introspect, JWT validation, JWKS
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.
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:
btoa()
.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!