question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OIDC Configuration is somehow expecting `metadataUrl` to be an object

See original GitHub issue

Expected Behavior

When creating an oidc provider for backstage, the following configuration fails:

auth:
  # see https://backstage.io/docs/auth/ to learn about auth providers
  providers:
    oidc:
      clientId: XXX
      clientSecret: XXX
      metadataUrl: https://<oidc-endpoint>/.well-known/openid-configuration

The Url is confirmed to return the configuration as expected.

Current Behavior

metadataUrl should be treated as a string if I’m reading this PR appropriately #33

Possible Solution

Steps to Reproduce

  1. Pull a new backstage environment with npx
  2. set the configuration with the above auth configuration, even with invalid values it’ll fail out as if they were valid.

Context

I can’t configure the auth backend as expected.

Your Environment

  • Node 14
  • MacOS Big Sur
  • Firefox 89.0.2

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Erog38commented, Jul 6, 2021

🤦 Thank you! Now on to other problems!

0reactions
frebencommented, Jul 6, 2021

There are no problems, only happy little learning opportunities!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"No authority configured on settings" when there is a string ...
I don't know if this is oidc or Angular or both. Different representations of the same string value cause authority to not be...
Read more >
OpenID Connect (OIDC) authorization code flow mechanism
The Authorization Code Flow mechanism authenticates users of your web application by redirecting them to an OIDC provider, such as Keycloak, to log...
Read more >
Securing Applications and Services Guide - Keycloak
These are the basic steps for securing an application or a service in Keycloak. Configure a client using one of these options: A...
Read more >
OpenID Connect (OIDC) on the Microsoft identity platform
Sign in Azure AD users by using the Microsoft identity platform's implementation of the OpenID Connect extension to OAuth 2.0.
Read more >
OpenID Connect | Authentication - Google Developers
Setting up OAuth 2.0 ... Google's OpenID Connect endpoint is OpenID Certified. ... An ID token is a JSON object containing a set...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found