4.6.1 • Published 14 days ago

oidc-spa v4.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

oidc-spa

An OIDC client tailored for Single Page Applications, particularly suitable for Vite projects.\ This library is intended for scenarios such as integrating your application with Keycloak.

In straightforward terms, this library is ideal for those seeking to enable user login/registration in their web application. When used in conjunction with Keycloak (for example), it enables you to offer a modern and secure authentication experience with minimal coding effort. This includes options for signing in via Google, X, GitHub, or other social media platforms. We provide comprehensive guidance from beginning to end.

  • 🎓 Accessible to all skill levels; no need to be an OIDC expert.
  • 🛠️ Easy to set up; eliminates the need for creating special /login /logout routes.
  • 🎛️ Minimal API surface for ease of use.
  • 🕣 Easy implementation of auto logout. Are you still there? You will be logged out in 10...9...
  • ✨ Robust yet optional React integration.
  • 📖 Comprehensive documentation and project examples: End-to-end solutions for authenticating your app.
  • ✅ Best in class type safety: Enhanced API response types based on usage context.

Comparison with Existing Libraries

oidc-client-ts

While oidc-client-ts serves as a comprehensive toolkit, our library aims to provide a simplified, ready-to-use adapter that will pass any security audit and that will just work out of the box on any browser.
We utilize oidc-client-ts internally but abstract away most of its intricacies.

react-oidc-context

react-oidc-context is a React wrapper around oidc-client-ts.
oidc-spa also feature a carefully crafted React API that comes with example integration with:

keycloak-js

Beside the fact that this lib only works with Keycloak it is also likely to be deprecated.

🚀 Quick start

Heads over to the documentation website 📘!

Showcases

This library powers the authentication of the following platforms:

Onyxia

The French Interministerial Base of Free Software

4.6.1

14 days ago

4.6.0

14 days ago

4.5.4

15 days ago

4.5.3

20 days ago

4.5.1-rc.0

20 days ago

4.5.2

20 days ago

4.5.1

20 days ago

4.5.0

1 month ago

4.4.1

2 months ago

4.4.0

2 months ago

4.3.0-rc.1

2 months ago

4.3.0

2 months ago

4.2.1

3 months ago

4.2.0

3 months ago

4.1.0

3 months ago

4.0.0

4 months ago

3.0.3

4 months ago

3.0.2

4 months ago

3.0.1

4 months ago

3.0.0

4 months ago

2.3.3

5 months ago

2.3.0

5 months ago

2.3.2

5 months ago

2.3.1

5 months ago

2.2.2-rc.0

5 months ago

2.2.1

5 months ago

2.2.0

6 months ago

2.2.0-rc.5

6 months ago

2.2.0-rc.4

6 months ago

2.2.0-rc.3

6 months ago

2.2.0-rc.2

6 months ago

2.2.0-rc.1

6 months ago

2.2.0-rc.0

6 months ago

2.1.0

6 months ago

2.0.3

7 months ago

2.0.2

7 months ago

2.0.1

7 months ago

2.0.0

7 months ago

1.0.1

7 months ago

1.0.0

7 months ago

0.1.1

7 months ago

0.1.0

7 months ago