Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAJOR RELEASE #42

Merged
merged 134 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
0c0f975
Instalando biblioteca de login social
castroricardo1 Nov 27, 2023
8c819da
configurando module.ts
castroricardo1 Nov 27, 2023
7eb8f8f
configuração login com facebook
castroricardo1 Nov 27, 2023
bf49be9
adicionando logica para receber nome e email
castroricardo1 Nov 27, 2023
2367be1
Login by facebook
castroricardo1 Dec 1, 2023
e7ca316
adiciona metodo para salvar token
castroricardo1 Dec 2, 2023
d1f63b4
Correção no armazenamento do token, tela de editar
castroricardo1 Dec 2, 2023
cc7cff4
alterando rota apos atualizar pefil
castroricardo1 Dec 2, 2023
a023558
cria service para login social
castroricardo1 Dec 2, 2023
9562acd
adiciona rota da api
castroricardo1 Dec 2, 2023
0394a3c
rotas da pagina inicial
castroricardo1 Dec 2, 2023
a397708
adiciona biblioteca login google
castroricardo1 Dec 3, 2023
b78aad5
atualiza tsconfig
castroricardo1 Dec 3, 2023
30c6d0d
adiciona botao google
castroricardo1 Dec 3, 2023
d828756
função para requisição do google e endpoint back
castroricardo1 Dec 3, 2023
6be711f
adicionando requisição do back
castroricardo1 Dec 3, 2023
534123f
arrumando botão google
castroricardo1 Dec 4, 2023
50be492
adicionando git igonore
castroricardo1 Dec 4, 2023
de65b8e
atualizando botao de email
castroricardo1 Dec 4, 2023
ee6b61a
arrumando responsividade
castroricardo1 Dec 4, 2023
1414d6e
responsividade altura
castroricardo1 Dec 4, 2023
346265d
teste front end login social component
castroricardo1 Dec 4, 2023
05292b8
atualizando testes
castroricardo1 Dec 4, 2023
fcb2f9f
adicionando rota apos logout
castroricardo1 Dec 4, 2023
b4f129b
bug botao google
castroricardo1 Dec 4, 2023
e085312
fix test logout
castroricardo1 Dec 5, 2023
7b8bea3
aumentando cobertura de testes
castroricardo1 Dec 5, 2023
d15e799
commit to deploy
castroricardo1 Dec 5, 2023
1fb01e7
Merge branch 'develop' into fix-login-social
castroricardo1 Dec 5, 2023
0ac000a
Merge branch 'develop' into fix-login-social
castroricardo1 Dec 5, 2023
1041d0f
Implementação de atualização de tokens
DiegoCarlito Dec 8, 2023
f01c238
Adicionando método para renovação do token
DiegoCarlito Dec 8, 2023
b52840c
Popup para renovação do token
DiegoCarlito Dec 8, 2023
b563df7
Adicionando um temporizador para o Popup de renovação do token
DiegoCarlito Dec 8, 2023
50ebdc9
Melhorando o código para ficar mais conciso e legível
DiegoCarlito Dec 8, 2023
d86494f
Teste para a função refreshToken
DiegoCarlito Dec 8, 2023
1a319f9
Teste para renewToken
DiegoCarlito Dec 8, 2023
f68fba6
Tirando partes do código que não estão sendo usadas
DiegoCarlito Dec 8, 2023
49edd16
Melhorando a lógica do teste de renewToken
DiegoCarlito Dec 8, 2023
7243d5e
Alinhar Campo obrigatorio
cansancaojennifer Dec 8, 2023
1b0a049
Alterar mascara de telefone
cansancaojennifer Dec 8, 2023
c001ec7
Alterar mascara de email
cansancaojennifer Dec 8, 2023
19131c9
Corrigir </div>
cansancaojennifer Dec 8, 2023
932210e
adiciona refreshToken ao authServiceMock
Marcosatc147 Dec 8, 2023
b543074
Adiciona caso de erro para refreshToken
Marcosatc147 Dec 8, 2023
41029a8
Adiciona teste para showRenewTokenDialog
Marcosatc147 Dec 8, 2023
841a3fc
Cria model de canal
GabrielaTiago Dec 9, 2023
c0b2b0d
Modifica tipo de video para ter chave de canal
GabrielaTiago Dec 9, 2023
81cf174
Adiciona constantes de limite de videos, ordenação e canal da unb-tv
GabrielaTiago Dec 9, 2023
c93aae5
Adiciona limite de resultados e ordenação à requisição de videos
GabrielaTiago Dec 9, 2023
adb8e21
Refatora teste de findAll
GabrielaTiago Dec 9, 2023
033a76b
Cria método para filtrar os vídeos do canal unb-tv
GabrielaTiago Dec 9, 2023
8ea19ef
Adiciona teste ao componente filtragem dos vídeos por canal
GabrielaTiago Dec 9, 2023
95d4806
Renderiza componentes filtrados pelo canal unb-tv
GabrielaTiago Dec 9, 2023
be9a245
Retira header do login social
DaviMarinho Dec 9, 2023
5efa59c
Cria catálogo de videos agruapdos por palavras chave
GabrielaTiago Dec 9, 2023
c055406
Corrige routing module
DaviMarinho Dec 9, 2023
9302f65
Adiciona botão para login social
DaviMarinho Dec 9, 2023
1898b70
Adiciona teste no redirecionamento
DaviMarinho Dec 9, 2023
3de7c18
Corrige problemas do sonar
DaviMarinho Dec 9, 2023
a650333
Melhora estilo da página de login
DaviMarinho Dec 9, 2023
e2f2a36
Merge pull request #37 from fga-eps-mds/111-popup-para-relogar
DaviMarinho Dec 9, 2023
a20f226
Adiciona mudanças nos testes
DaviMarinho Dec 9, 2023
bc02195
Adiciona model para catálogo
GabrielaTiago Dec 9, 2023
2416eae
Organiza vídeos no catálogo de acordo com suas palavras no titulo
GabrielaTiago Dec 9, 2023
922b496
Adiciona teste ao catálogo
GabrielaTiago Dec 9, 2023
fb1ea03
Merge branch 'develop' of https://github.com/fga-eps-mds/2023.2-UnB-T…
GabrielaTiago Dec 9, 2023
14b2f43
Corrige teste
DaviMarinho Dec 9, 2023
bd9f1e8
Corrige teste
DaviMarinho Dec 9, 2023
01d1b3d
Corrige teste
DaviMarinho Dec 9, 2023
9880c4e
Merge pull request #25 from fga-eps-mds/fix-login-social
geraldovictor Dec 9, 2023
70a5cd1
Merge branch 'develop' of github.com:fga-eps-mds/2023.2-UnB-TV-Fronte…
nYCSTs Dec 9, 2023
0e73386
Remove arquivos de credenciais
nYCSTs Dec 9, 2023
48861e8
Merge pull request #39 from fga-eps-mds/details-login-social
geraldovictor Dec 9, 2023
2dfeb56
Atualiza README
joao15victor08 Dec 10, 2023
86da49a
Adiciona compartilhamento nos vídeos
DaviMarinho Dec 10, 2023
6298ee5
Corrige problemas do sonar e adiciona testes
DaviMarinho Dec 10, 2023
baa0206
Adiciona testes
DaviMarinho Dec 10, 2023
0c38f05
Adiciona testes
DaviMarinho Dec 10, 2023
c1a1586
Adiciona Teste para getVideoUrl
DiegoCarlito Dec 10, 2023
803cb4e
Merge branch 'develop' of https://github.com/fga-eps-mds/2023.2-UnB-T…
GabrielaTiago Dec 10, 2023
8cac3fa
lib
GabrielaTiago Dec 10, 2023
5a10ded
Adiciona imagens dos programas no catálogo
GabrielaTiago Dec 10, 2023
2047add
Cria componente de catálogo
GabrielaTiago Dec 10, 2023
395525e
Aplicando máscara no campo de e-mail
DiegoCarlito Dec 10, 2023
1b6fcaf
Aplicando máscara no campo de telefone
DiegoCarlito Dec 10, 2023
2120852
Adiciona métodos para buscar os vídeos do catálogo
GabrielaTiago Dec 10, 2023
3ec3381
Altera método para buscar os vídeos do catálogo
GabrielaTiago Dec 10, 2023
8440975
Remove testes de métodos excluídos
GabrielaTiago Dec 10, 2023
334953c
Cria método que ao clicar redireciona para os vídeos do programa
GabrielaTiago Dec 10, 2023
b2bf37a
Resolvendo problemas com os testes
DiegoCarlito Dec 10, 2023
c91925d
Conserta teste quebrado
GabrielaTiago Dec 10, 2023
30f55b0
Resolvendo problemas com o sonar
DiegoCarlito Dec 10, 2023
d6b5c5a
Merge branch 'develop' into 126-mascara
DiegoCarlito Dec 10, 2023
60d5e79
Adiciona testes para a página de vídeos
GabrielaTiago Dec 10, 2023
b767e92
Adciona testes aos métodos de catálogo de vídeos
GabrielaTiago Dec 10, 2023
5f0ece9
Acidiona teste do clique na programação
GabrielaTiago Dec 10, 2023
e91f7dc
Remove console.log
GabrielaTiago Dec 11, 2023
5d1832c
Acidiona teste do clique na programação
GabrielaTiago Dec 11, 2023
f324d39
Adiciona cor cinza do projeto às configurações globais do tailwind
GabrielaTiago Dec 11, 2023
6f578da
Cria componente de confirmação visual para conteúdo não disponível
GabrielaTiago Dec 11, 2023
f6cc73f
Adiciona teste de voltar à página de catálogo
GabrielaTiago Dec 11, 2023
247ad56
Merge branch '118-catalogo-programas' of https://github.com/fga-eps-m…
GabrielaTiago Dec 11, 2023
38346e4
Altera a rota para '/catalog' no header
GabrielaTiago Dec 11, 2023
5166179
Coloca a página de catálogo como a inicial
GabrielaTiago Dec 11, 2023
11f5f78
Refatora teste com a rota de catálogo
GabrielaTiago Dec 11, 2023
a343976
Ajusta responsividade. Corrige regex do email
nYCSTs Dec 11, 2023
296462a
Corrige testes
joao15victor08 Dec 11, 2023
1228136
Altera tamanho da fonte e letras maiusculas
Marcosatc147 Dec 6, 2023
a6cf004
Alterar as cores para cinza
RaissaAndradeS Dec 8, 2023
9220405
alteração de cor
RaissaAndradeS Dec 8, 2023
2ccedcb
padronizar cores
RaissaAndradeS Dec 8, 2023
dd4c4a8
"Alterar cor de Título e descrição
RaissaAndradeS Dec 8, 2023
552a73a
Teste para ativar conta
RaissaAndradeS Dec 8, 2023
128ee36
Completar código
RaissaAndradeS Dec 8, 2023
725891a
Alterar cor da programação
RaissaAndradeS Dec 11, 2023
c07791f
configurando module.ts
castroricardo1 Nov 27, 2023
cc08e41
Corrige sonar
DaviMarinho Dec 11, 2023
3fc2093
Corrige sonar
DaviMarinho Dec 11, 2023
97cf2df
Resolve conflito
DaviMarinho Dec 11, 2023
65d6b14
Merge pull request #38 from fga-eps-mds/teste-active-account
nYCSTs Dec 11, 2023
06a0c3d
Merge pull request #41 from fga-eps-mds/118-catalogo-programas
nYCSTs Dec 11, 2023
7e4da51
Altera forma de verificar compatilhamento
joao15victor08 Dec 11, 2023
8923092
Adiciona compartilhamento nos vídeos
DaviMarinho Dec 10, 2023
55fe910
Corrige problemas do sonar e adiciona testes
DaviMarinho Dec 10, 2023
aaea264
Adiciona testes
DaviMarinho Dec 10, 2023
08a81d4
Adiciona testes
DaviMarinho Dec 10, 2023
89b2afc
Adiciona Teste para getVideoUrl
DiegoCarlito Dec 10, 2023
76b4a35
Corrige testes
joao15victor08 Dec 11, 2023
cf1b470
Corrige testes
nYCSTs Dec 11, 2023
c4a1a7b
Merge branch 'develop' of github.com:fga-eps-mds/2023.2-UnB-TV-Fronte…
joao15victor08 Dec 11, 2023
4a76f5b
Corrige conflitos
joao15victor08 Dec 11, 2023
5dae571
Merge pull request #36 from fga-eps-mds/126-mascara
DaviMarinho Dec 11, 2023
2fb6975
Merge pull request #40 from fga-eps-mds/us12-compartilhar-video
nYCSTs Dec 11, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ Thumbs.db
/src/app/environment
/src/app/secret
/src/app/app.constant.ts
certificate.cnf
localhost.crt
localhost.key
40 changes: 24 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,37 @@
# UnBTVFrontend
# UnB-TV Frontend

![Alt text](public/Simbolo_UnBTV.svg)
<div align="center">
<img src="./docs/assets/unb-removebg-preview.png" alt="logo UNBTV"> </div>

## Sobre

Este repositório contém o frontend da aplicação UnBTV, um projeto que visa a criação de uma plataforma de streaming para a UnBTV.
O projeto visa o desenvolvimento de uma aplicação Web e Mobile para a UnB-TV, com o objetivo de centralizar e disponibilizar de forma unificada todo o conteúdo oferecido pela UnB-TV, incluindo vídeos e transmissões ao vivo, sendo desenvolvida no segundo semestre de 2023 pelas disciplinas de EPS e MDS da Universidade de Brasília.

## Ambientes

[Documentação](https://github.com/fga-eps-mds/2023.2-UnB-TV-DOC)
[Backend:Users](https://github.com/fga-eps-mds/2023.2-UnB-TV-Users)
[Users](https://github.com/fga-eps-mds/2023.2-UnB-TV-Users)
[Admin](https://github.com/fga-eps-mds/2023.2-UnB-TV-Admin)
[Video](https://github.com/fga-eps-mds/2023.2-UnB-TV-VideoService)
[Gateway](https://github.com/fga-eps-mds/2023.2-UnB-TV-API-Gateway)
[Frontend](https://github.com/fga-eps-mds/2023.2-UnB-TV-Frontend)

## Acessando o repositório localmente

### Requisitos

- docker e docker compose

Primeiro passo é instalar o docker e docker compose, para isso siga os passos de instalação do [docker](https://docs.docker.com/engine/install/) e [docker compose](https://docs.docker.com/compose/install/).

Execute o servidor local:

```
docker compose up
```

Acessar o localhost em: http://localhost:4200

## Equipe

| Foto | Nome | Github | Email | Matrícula |
Expand All @@ -30,15 +50,3 @@ Este repositório contém o frontend da aplicação UnBTV, um projeto que visa a
| <img width="100px" style="border-radius:10%" src="https://github.com/castroricardo1.png" alt="Ricardo de Castro Loureiro"> | Ricardo de Castro Loureiro | @castroricardo1 | [email protected] | 200043111 |
| <img width="100px" style="border-radius:10%" src="https://github.com/savioc2.png" alt="Ana Carolina Rodrigues Leite"> | Sávio Cunha de Carvalho | @savioc2 | [email protected] | 180130889 |
| <img width="100px" style="border-radius:10%" src="https://github.com/vitoriaaquere.png" alt="Vitória Aquere Matos"> | Vitória Aquere Matos | @vitoriaaquere | <[email protected]> | 190096616 |

## Instruções para rodar a aplicação

Instale o docker e docker compose.

Para instalar o docker: https://docs.docker.com/engine/install/
Para instalar o docker compose: https://docs.docker.com/compose/install/

Para rodar o frontend execute o comando `docker compose up` e abra no navegador usando o link http://localhost:4200/.

Para rodar os testes execute `docker exec -it unb-tv-web ng test` com o docker em execução e abra no navegador usando o link http://localhost:9876/#
Para rodar o frontend execute o comando `docker compose up`
21 changes: 21 additions & 0 deletions certificate.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[req]
default_bits = 2048
prompt = no
default_md = sha256
x509_extensions = v3_req
distinguished_name = dn

[dn]
C = IN
ST = India
L = India
O = My Organisation
OU = My Organisational Unit
emailAddress = [email protected]
CN = localhost

[v3_req]
subjectAltName = @alt_names

[alt_names]
DNS.1 = localhost
40 changes: 40 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"private": true,
"dependencies": {
"@abacritt/angularx-social-login": "^2.0.0",
"@angular/animations": "^15.2.0",
"@angular/cdk": "^15.2.9",
"@angular/common": "^15.2.0",
Expand All @@ -23,6 +24,7 @@
"@angular/platform-browser": "^15.2.0",
"@angular/platform-browser-dynamic": "^15.2.0",
"@angular/router": "^15.2.0",
"@types/gapi.auth2": "^0.0.60",
"angular-oauth2-oidc": "^15.0.1",
"hls.js": "^1.4.12",
"jwt-decode": "^3.1.2",
Expand Down
81 changes: 58 additions & 23 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,76 @@ import { UpdateRoleComponent } from './pages/update-role/update-role.component';
import { AdminGuard } from './services/admin.guard';
import { SuggestAgendaComponent } from './pages/suggest-agenda/suggest-agenda.component';
import { ParticipateComponent } from './pages/participate/participate.component';
import { GridDaysComponent } from './pages/grid-days/grid-days.component';
import { GridComponent } from './pages/grid/grid.component';
import { GridDaysComponent } from './pages/grid-days/grid-days.component';
import { GridComponent } from './pages/grid/grid.component';
import { CatalogComponent } from './pages/catalog/catalog.component';

import { WithTokenGuard } from './guard/with-token.guard';

const routes: Routes = [
{ path: 'login', component: LoginComponent },
{ path: 'register', component: RegisterComponent },
{ path: 'loginsocial', component: LoginSocialComponent },
{ path: 'stream', component: StreamViewComponent },
{ path: 'catalog', component: CatalogComponent },
{ path: 'videos', component: VideoComponent },
{ path: 'video/:idVideo', component: VideoViewerComponent },
{ path: 'activeAccount', component: ActiveAccountComponent },
{ path: 'sendCodeResetPassword', component: CheckCodeRestPasswordComponent },
{ path: 'changePassword', component: ResetPasswordComponent },
{ path: '', component: VideoComponent, canActivate: [AuthGuard], }, // Default route - Showd be stream component
{ path: 'login', component: LoginComponent, canActivate: [WithTokenGuard], },
{ path: 'register', component: RegisterComponent, canActivate: [WithTokenGuard], },
{ path: 'loginsocial', component: LoginSocialComponent, canActivate: [WithTokenGuard], },
{ path: 'sendCodeResetPassword', component: CheckCodeRestPasswordComponent, canActivate: [WithTokenGuard], },
{ path: 'changePassword', component: ResetPasswordComponent, canActivate: [WithTokenGuard], },
{ path: 'videos', component: VideoComponent, canActivate: [AuthGuard], },
{ path: 'video/:idVideo', component: VideoViewerComponent, canActivate: [AuthGuard], },
{ path: 'activeAccount', component: ActiveAccountComponent, canActivate: [WithTokenGuard], },
{ path: 'suggestAgenda', component: SuggestAgendaComponent, canActivate: [AuthGuard], },
{ path: 'participate', component: ParticipateComponent, canActivate: [AuthGuard], },
{ path: 'profile', component: ProfileComponent, canActivate: [AuthGuard], },
{ path: 'editUser/:id', component: EditUserComponent, canActivate: [AuthGuard], },
{ path: '', component: CatalogComponent },
{ path: 'login', component: LoginComponent, canActivate: [WithTokenGuard] },
{
path: 'register',
component: RegisterComponent,
canActivate: [WithTokenGuard],
},
{
path: 'loginsocial',
component: LoginSocialComponent,
canActivate: [WithTokenGuard],
},
{
path: 'sendCodeResetPassword',
component: CheckCodeRestPasswordComponent,
canActivate: [WithTokenGuard],
},
{
path: 'changePassword',
component: ResetPasswordComponent,
canActivate: [WithTokenGuard],
},
{
path: 'video/:idVideo',
component: VideoViewerComponent,
canActivate: [AuthGuard],
},
{
path: 'activeAccount',
component: ActiveAccountComponent,
canActivate: [WithTokenGuard],
},
{
path: 'suggestAgenda',
component: SuggestAgendaComponent,
canActivate: [AuthGuard],
},
{
path: 'participate',
component: ParticipateComponent,
canActivate: [AuthGuard],
},
{ path: 'profile', component: ProfileComponent, canActivate: [AuthGuard] },
{
path: 'editUser/:id',
component: EditUserComponent,
canActivate: [AuthGuard],
},
{ path: 'grid-days', component: GridDaysComponent },
{ path: 'grid-days/:day', component: GridComponent },
{ path: 'update-role', component: UpdateRoleComponent, canActivate: [AdminGuard], }
{
path: 'update-role',
component: UpdateRoleComponent,
canActivate: [AdminGuard],
},
];

@NgModule({
imports: [RouterModule.forRoot(routes)],
exports: [RouterModule],
})
export class AppRoutingModule { }
export class AppRoutingModule {}
5 changes: 4 additions & 1 deletion src/app/app.constant.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
export const EDUPLAY_API_URL = 'https://eduplay.rnp.br/services/';
export const UNB_ID = 216;
export const UNB_ID = 216;
export const VIDEOS_LIMIT = 1000;
export const VIDEOS_ORDER = 3; // ordenação pelos mais recentes (eduplay);
export const UNB_TV_CHANNEL_ID = 190265;
31 changes: 29 additions & 2 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ import { OAuthModule, OAuthStorage } from 'angular-oauth2-oidc';
import { InputTextModule } from 'primeng/inputtext';
import { DropdownModule } from 'primeng/dropdown';
import { ButtonModule } from 'primeng/button';
import { SocialLoginModule, SocialAuthServiceConfig } from '@abacritt/angularx-social-login';
import { GoogleLoginProvider, FacebookLoginProvider } from '@abacritt/angularx-social-login';


// Declaration
import { NgModule } from '@angular/core';
Expand Down Expand Up @@ -40,6 +43,7 @@ import { GridComponent } from './pages/grid/grid.component';
import { GridDaysComponent } from './pages/grid-days/grid-days.component';
import { ProgressSpinnerModule } from 'primeng/progressspinner';
import { NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from 'ngx-google-analytics';
import { CatalogComponent } from './pages/catalog/catalog.component';

@NgModule({
imports: [
Expand All @@ -58,6 +62,7 @@ import { NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from 'ngx-go
FormsModule,
BrowserAnimationsModule,
MatPaginatorModule,
SocialLoginModule,
NgxGoogleAnalyticsModule.forRoot('G-XL7Z0L7VM8'),
NgxGoogleAnalyticsRouterModule
],
Expand All @@ -81,7 +86,8 @@ import { NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from 'ngx-go
ParticipateComponent,
GridComponent,
GridDaysComponent,
VideoCommentComponent
VideoCommentComponent,
CatalogComponent
],

providers: [
Expand All @@ -94,7 +100,28 @@ import { NgxGoogleAnalyticsModule, NgxGoogleAnalyticsRouterModule } from 'ngx-go
},
{ provide: OAuthStorage, useValue: localStorage },
MessageService,
ConfirmationService
ConfirmationService,
{
provide: 'SocialAuthServiceConfig',
useValue: {
autoLogin: false,
providers: [
{
id: GoogleLoginProvider.PROVIDER_ID,
provider: new GoogleLoginProvider(
'254484469180-1imr4ds36p8rq4fe7udkja212tu0p7jl.apps.googleusercontent.com'
)
},
{
id: FacebookLoginProvider.PROVIDER_ID,
provider: new FacebookLoginProvider('2640880742734858')
}
],
onError: (err) => {
console.error(err);
}
} as SocialAuthServiceConfig,
}
],
bootstrap: [AppComponent],
})
Expand Down
Loading
Loading