nbarbettini / oidc-debugger

OAuth 2.0 and OpenID Connect debugging tool
https://oidcdebugger.com
MIT License
223 stars 29 forks source link

Look up OIDC discovery document #24

Open nbarbettini opened 7 years ago

nbarbettini commented 7 years ago

Allow the user to paste the URL to an authority, and inspect the discovery document to make suggestions for things like Authorize URI, scopes, response modes and types, etc.

jerriep commented 6 years ago

How do you envision the UX for this to work?

nbarbettini commented 6 years ago

My initial thought: if you paste a URL into the Authorize URI field that can be fetched as a discovery document, update the UI to:

nbarbettini commented 6 years ago

However, it's probably mixing things up (and would be confusing) to use the Authorize URI field for this. Maybe another field or small button above Authorize URI that would let you paste this in.

As you can tell I haven't fully designed this in my head yet. 😄 Feel free to suggest your own ideas!

jerriep commented 6 years ago

Yeah, I agree mixing things up will lead to confusion, and having a specific action (like a button) + additional UI for this would make most sense

CrowdHailer commented 4 years ago

Can I help in anyway on this Issue. It would be really useful for me.

From a UX point of view I would expect something like

Enter issuer url here
[input]
[Button fetch configuration]

Some Break

Or manually configure below.

Once the discovery document is fetch it can just auto fill the same fields that were just being used for manual configuration.

There is another debugger from Auth0 that does something fairly similar. https://openidconnect.net/

screenshot

nbarbettini commented 4 years ago

@CrowdHailer I think this could work entirely on the client side (fetch() the discovery document with JavaScript). If you have time to build it in JS, I'm happy to accept PRs.

CrowdHailer commented 4 years ago

I might be able to have a crack at this later on next week.