Can log in now
This commit is contained in:
parent
1aa8d8d88d
commit
c2e8299e67
4 changed files with 17 additions and 6 deletions
6
app/authenticators/oauth2.js
Normal file
6
app/authenticators/oauth2.js
Normal file
|
@ -0,0 +1,6 @@
|
|||
import OAuth2PasswordGrant from 'ember-simple-auth/authenticators/oauth2-password-grant';
|
||||
import config from '../config/environment';
|
||||
|
||||
export default OAuth2PasswordGrant.extend({
|
||||
serverTokenEndpoint: `${config.apiURL}/api/authenticate`,
|
||||
});
|
Reference in a new issue