How to load configuration in auth config module from config.json file?

Discussão em 'Angular' iniciado por Jatin Gandhi, Novembro 12, 2024.

  1. Jatin Gandhi

    Jatin Gandhi Guest

    Using https://github.com/damienbod/angular-auth-oidc-client for angular authentication.

    Want to load auth config module configuration from config.json file as different configs for different environment need to be used.

    I tried following the instructions mentioned below documentation -

    https://angular-auth-oidc-client.com/docs/documentation/configuration

    Based on above implemented below code-

    [​IMG]

    But getting below error

    [​IMG]

    Please help me. Tried different ways of loading it from json. if values are static it works well.

    Continue reading...

Compartilhe esta Página