8. Update Client to Ask Consent

The standard OIDC flow includes adding various consent scopes to your login request, this will trigger the correct screens for the user to accept any new consent.

  1. Go to ~/.env in the stater project

  2. Modify the "scopes" property to contain the new scopes

# OIDC_SCOPES=profile openid
OIDC_SCOPES=profile openid location.places.read location.places.write
API_KEY=${YOUR_KEY_HERE}
  1. Restart your npm

Last updated