While browsing through the SDKs in https://github.com/asgardeo/ I noticed there are two options to use for JavaScript apps.
Which one is the recommended for someone trying to use it in a single page app written in JS?
While browsing through the SDKs in https://github.com/asgardeo/ I noticed there are two options to use for JavaScript apps.
Which one is the recommended for someone trying to use it in a single page app written in JS?
Hi
Have you decided on the technology that you are planning to write the application in?
We have SDKs for Angular & React that has out of the box support for framework specific functionalities. I would recommend you to use one of these if you are planning to develop your application with React or Angular.
React - https://github.com/asgardeo/asgardeo-auth-react-sdk
Angular - https://github.com/asgardeo/asgardeo-auth-angular-sdk
Let me give an explanation on the `asgardeo-auth-js-sdk` & `asgardeo-auth-spa-sdk`.
asgardeo-auth-js-sdk contains the core methods needed to implement the authentication logic. This is being consumed by the asgardeo-auth-spa-sdk to inherit core functions. In addition, `spa-sdk` has functionalities that are specific for SPA applications such as browser redirects, etc. `spa-sdk` was used as a base for React & Angular SDKs.
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.