In my opinion. Writing an oauth oidc client is too easy to warrant using a library like this.
Use a service like AWS Cognito or Auth0 to handle auth/federated connections and hand write a simple client to adapt to your auth provider.
You can have a client-side only flow or you can use a server, in either case it's pretty trivial to implement.