Checking against multiple config with angular-auth-oidc-client

Discussão em 'Angular' iniciado por gulyasfeccferenc, Dezembro 4, 2024.

  1. I have an Angular v18 application, using the angular-auth-oidc-client package's latest (v18) version. The situation I have to solve is the following:

    1. Authenticate against our main Identity Provider
    2. Get the region data from the token
    3. Authenticate agains an other Identity Provider, which authority will be dynamically created from the previous region data
    4. Start the app if both of them done

    If I were to know the region beforehand, I might able to use the package's baked in .checkAuthMultiple() call, but as the second config is not there before authentication I have no clue how to add it.

    Any help appreciated!

    Continue reading...

Compartilhe esta Página