react-keycloak-nekrasovka
v1.5.8
Published
React Keycloak Component
Downloads
67
Readme
Добавить в файл ".env" проекта
REACT_APP_KEYCLOAK_BASE_URL=Keycloak client url
REACT_APP_KEYCLOAK_APP_URL=Your app url
REACT_APP_KEYCLOAK_REALM=Realm name
REACT_APP_KEYCLOAK_CLIENT_ID=Client id
Пример использования
import KeycloakProvider from "react-keycloak-nekrasovka";
export default () => {
return (
<KeycloakProvider>
...
</KeycloakProvider>
);
};