hino / app / authenticators / oauth2.js
oauth2.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.authHost}`,
  serverTokenRevocationEndpoint: `${config.APP.api.host}`
});