@asgardeo/auth-react 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -219,7 +219,7 @@ The provider takes a prop called `config` that accepts a config object of type [
219
219
 
220
220
  In addition, the `fallback` prop is used to specify a fallback component that will be rendered when the user is not authenticated.
221
221
 
222
- As an optional parameter, `spaClient` parameter can be used to initialize the external Auth SPA Client.
222
+ As an optional parameter, `plugin` parameter can be used to initialize the external Auth SPA Client.
223
223
 
224
224
  The `AuthProvider` also automatically requests for the access token should the URL contain the `code` query parameter.
225
225
 
@@ -244,7 +244,7 @@ import { ChoreoSPAClient } from "@asgardeo/choreo-auth-spa";
244
244
 
245
245
  export const MyApp = (): ReactElement => {
246
246
  return (
247
- <AuthProvider config={ config } spaClient={ ChoreoSPAClient.getInstance() }>
247
+ <AuthProvider config={ config } plugin={ ChoreoSPAClient.getInstance() }>
248
248
  <Dashboard />
249
249
  </AuthProvider>
250
250
  )