hi team,
I integrate okta in my projet, its work very good in localhost:4200, but when I build my project angular ng build --prod --base-href /liris/ --deploy-url /liris/ , I have a folder in dist , when I put my folder tomcat , and I change conf okta
http://localhost:8080/liris/authSuccess instead of http://localhost:4200/authSuccess I end up with error 400 page of okta ,
const oktaConfig= {
issuer: ‘https://okta-dev-905229.pixtulate.com/oauth2/default’,
redirectUri: window.location.origin.concat(’/authSuccess’),
clientId: ‘0oabot6zqATvLRsRO4x6’,
scope: ‘openid email’
}
entryComponents: [TimeOutModalComponent],
providers: [{provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true},
{provide: HTTP_INTERCEPTORS, useClass: ErrorInterceptor, multi: true},
{provide: LOCALE_ID, useValue: ‘fr’},
{ provide: OKTA_CONFIG, useValue: oktaConfig },
{provide: ErrorHandler, useClass: GlobalErrorHandler}],
bootstrap: [AppComponent]
})
can you help me