Last active
October 8, 2020 23:48
-
-
Save mbrown3321/f3f318d668980a26fb8e15c6eadaec55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import ReactDOM from 'react-dom'; | |
import './index.css'; | |
import App from './App'; | |
import * as serviceWorker from './serviceWorker'; | |
import { Auth0Provider } from "@auth0/auth0-react"; | |
ReactDOM.render( | |
<React.StrictMode> | |
<Auth0Provider | |
domain="YOUR_DOMAIN" | |
clientId="YOUR_CLIENT_ID" | |
redirectUri={window.location.origin} | |
> | |
<App /> | |
</Auth0Provider> | |
</React.StrictMode>, | |
document.getElementById('root') | |
); | |
serviceWorker.unregister(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment