Ready to post? First, try searching for your answer.
This code works:
const options = {
detailedResponse: true
};
return this.auth.getAccessTokenSilently(options);
This code gives me Missing Refresh Token error:
const options = {
detailedResponse: true,
authorizationParams: {scope:āadditional_scopeā},
};
return this.auth.getAccessTokenSilently(options);
additional_scope is defined for the API.
Any ideas if it is possible to add additional scopes on the fly? Iām trying to get an access token with very specific scope before calling a resource endpoint. Each endpoint will require its own scope.