8. Update Client to Ask Consent
Consent can and should be progressive, your application COULD call many services which required 10, 20, or even more consent grants. It is best practice to ONLY ask for the consent when it is actually needed.
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.
Go to
~/.envin the stater projectModify 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}Restart your npm
Last updated