Skip to content

Commit

Permalink
feat(auth): add authentication form and service
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbeau committed Aug 7, 2017
1 parent 468b5c8 commit c5b20ec
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion src/demo-app/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import { SearchSourcesOptions, LanguageOptions } from '../../lib';
import { SearchSourcesOptions, LanguageOptions, AuthOptions } from '../../lib';

interface Environment {
production: boolean;
igo: {
searchSources?: SearchSourcesOptions;
language?: LanguageOptions;
auth?: AuthOptions;
};
};

Expand All @@ -18,6 +19,18 @@ export const environment: Environment = {
},
language: {
prefix: './assets/locale/'
},
auth: {
url: 'http://localhost:8000/users',
tokenKey: 'id_token_igo',
google: {
apiKey: 'AIzaSyCbc-E35ZNqAjPvpbr30bAXwfcQoq5XLBs',
clientId: '467961599657-f7lebhfn3oposibnrvlgjl7ffglgr2go.apps.googleusercontent.com'
},
facebook: {
apiKey: '1989457734616371',
enabled: false
}
}
}
};

0 comments on commit c5b20ec

Please sign in to comment.