1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

OIDC/OAUTH api requests using different public clientId in an Angular app

Discussão em 'Angular' iniciado por Zerzio, Setembro 12, 2024.

  1. Zerzio

    Zerzio Guest

    An Angular (v17) application is made of different Angular elements which have to call different secured (bearer) APIs. The application is using "angular-oauth2-oidc" library from Manfred Steyer (https://github.com/manfredsteyer/angular-oauth2-oidc). The APIs are registered on the API Gateway with different OAUTH clientId from two different identity providers. In short, the need is to be able to call APIs by specifying the IDP and the clientId. Probably best is to have those in a config. All examples I found were using a unique configuration for the SPA.

    Continue reading...

Compartilhe esta Página