hino / app / authenticators / oauth2dealer.js
oauth2dealer.js
Raw
import OAuth2PasswordGrant from 'ember-simple-auth/authenticators/oauth2-password-grant';
import config from '../config/environment';

export default OAuth2PasswordGrant.extend({
  serverTokenEndpoint: `${config.APP.api.authUserAliasHost}`,
  serverTokenRevocationEndpoint: `${config.APP.api.host}`
});