auth0 / angular-lock

MIT License
18 stars 15 forks source link

Scopes while signing up are not respected #14

Closed aashish004 closed 7 years ago

aashish004 commented 7 years ago

When I try sign up It doesn't respect scopes on the auth params but It does so when I login. The JWT generated on sign up doesn't have the required scope (claims)

var options = {
  allowedConnections: ['Username-Password-Authentication'],
  theme: {
  primaryColor: '#18a689'
  },
  auth: {
    params: {
      scope: 'openid permissions offline_access participant_type'
   }
 }
};
lockProvider.init({
  domain: 'XXXXXXXXXXXXXXXXX',
  clientID: 'XXXXXXXXXXXXXXXXX',
  options: options
});
chenkie commented 7 years ago

Looks like this was addressed in the ticket :)