Created
January 6, 2020 21:03
-
-
Save ayoisaiah/0247247b6e5924de45ba4562ce99e4e6 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 App from './App'; | |
import * as serviceWorker from './serviceWorker'; | |
import { Auth0Provider } from './auth0'; | |
ReactDOM.render( | |
<Auth0Provider | |
domain={"<your domain>"} | |
client_id={"<your client id>"} | |
redirect_uri={window.location.origin} | |
> | |
<App /> | |
</Auth0Provider>, | |
document.getElementById('root') | |
); | |
serviceWorker.unregister(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment