Skip to content

getUserFromClient is not defined  #364

Open
@barisvelioglu

Description

@barisvelioglu

grant.js line 293

  return this.model.getUserFromClient(clientId, clientSecret,
      function (err, user) {
    if (err) return done(error('server_error', false, err));
    if (!user) {
      return done(error('invalid_grant', 'Client credentials are invalid'));
    }

    self.user = user;
    done();
  });

This method returns undefined when I try to get access_token with client_credentials. I check the code but I couldnt find the implementation of it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions