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

ID.me Firebase OIDC auth failing

Discussão em 'Angular' iniciado por Jake Smith, Junho 16, 2025.

  1. Jake Smith

    Jake Smith Guest

    What I've tried


    protected async onOAuthProviderClick() {
    const provider = new OAuthProvider('oidc.idme');
    provider.addScope('openid');
    try {
    await signInWithRedirect(getAuth(), provider);
    } catch (error) {
    if (error instanceof FirebaseError) {
    this.#snacks.open(`Error signing in with ID.me: ${error.message}`);
    } else {
    this.#snacks.open(
    'An unknown error occurred while signing in with ID.me'
    );
    }
    if (isDevMode()) console.error(error);
    }
    }


    I created the oidc provider in firebase console, copied and pasted (and double checked) the client id and client secret. I also added the callback url to the redirect URIs in ID.me configuration for my app.

    Problem


    I'm getting the following message from a page on ID.me's domain (https://api.idmelabs.com/oauth/authorize?...):


    Client authentication failed due to unknown client, no client authentication included, or unsupported authentication information
    ​

    I haven't had a successful api call to ID.me yet, so I haven't been able to request production level. This is all through the sandbox.

    Continue reading...

Compartilhe esta Página