Account Reset
The Account Sign In component allows users to log in to the application with their usernames and passwords.
This component is composed of a simple email and password form and a "sign in" button that submits the request.
Usage
import React from 'react';
import {SCContextProvider} from '@selfcommunity/react-core';
import {AccountReset} from '@selfcommunity/react-ui';
function App() {
const conf = {
portal: '<community-path>',
session: {
type: 'OAuth',
token: '<community-token>',
refreshToken: '<community-refresh-token>',
refreshTokenEndpoint: '<community-refresh-endpoint>',
},
};
return (
<SCContextProvider conf={conf}><AccountReset /></SCContextProvider>
);
}