Loading user info...
;
return (
User Profile
Username: {userInfo.username}
Email: {userInfo.email}
Display Name: {userInfo.displayName}
Tenant: {userInfo.tenantDomain}
Allowed Scopes: {userInfo.allowedScopes}
{decodedToken && (
<>
Token Claims
Subject: {decodedToken.sub}
Issuer: {decodedToken.iss}
>
)}
);
}
```
--------------------------------
### updateConfig Method
Source: https://github.com/asgardeo/asgardeo-auth-react-sdk/blob/main/API.md
The `updateConfig` method allows you to update SDK configurations after the initial instantiation. All attributes in the config object are optional.
```APIDOC
## updateConfig
### Description
This method can be used to update the configurations passed into the constructor of the [`AuthReactConfig`](#authreactconfig). Please note that every attribute in the config object passed as the argument here is optional. Use this method if you want to update certain attributes after instantiating the class.
### Method
`updateConfig(config: Partial