Login with Moon
Using Moon OAuth2 Provider for Authentication
Step 1: Grab Environment Variables from Moon
NODE_PORT=4000
REACT_APP_CLIENT_ID=your_client_id
REACT_APP_CLIENT_SECRET=your_client_secret
REACT_APP_RESPONSE_TYPE=code
REACT_APP_REDIRECT_URI=http://example.com/authorize
REACT_APP_SCOPE=
REACT_APP_STATE=
NODE_GRANT_TYPE=authorization_codeStep 2: Initiate the Authentication Process
Step 3: Handle the Redirect from the Authorization Server
Step 4: Exchange the Authorization Code for an Access Token
Last updated