Hi !
I'm facing an issue/interrogation with this module and would like to know how i can make my use case work/
I have an angular front that needs two auth providers (one for users, one for employees). I've successfully configured the oAuthModule for the employee one using the following config :
const authCodeFlowConfig: AuthConfig = {
issuer: environment.auth.issuer,
redirectUri: environment.auth.redirectUri,
clientId: environment.auth.clientId,
userinfoEndpoint: environment.auth.userinfoEndpoint,
responseType: 'code',
scope: 'openid profile',
showDebugInformation: false,
};
this.oauthService.tokenValidationHandler = new JwksValidationHandler();
this.oauthService.configure(authCodeFlowConfig);
this.oauthService.setupAutomaticSilentRefresh();
this.oauthService.setStorage(sessionStorage);
everything is ok at this point.
My question is : is there any way to configure another login provider within my application ? (that will be an implicit grant flow as the other provider do not handle pkce yet )
Thanks a lot
馃殌
An interesting feature request, but it was declined in this duplicate issue I'm afraid. To repeat the closing comment:
Currently, there are no plans for this. I personally would use an identity server that delegates to several other login providers and maps their tokens to a common token structure for the application.
So your best bet is to go with that, when keep using this library.
Ping me if you feel the other issue is not a duplicate and explain how it's different, I'd be happy to re-open if this is about something else.
An interesting feature request, but it was declined in this duplicate issue I'm afraid. To repeat the closing comment:
Currently, there are no plans for this. I personally would use an identity server that delegates to several other login providers and maps their tokens to a common token structure for the application.
So your best bet is to go with that, when keep using this library.
Ping me if you feel the other issue is not a duplicate and explain how it's different, I'd be happy to re-open if this is about something else.
sorry for duplicate issue and thanks for your answer
NP, just wanted to check if I hadn't missed subtleties in your question that weren't covered by the other one.