Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look up OIDC discovery document #24

Open
nbarbettini opened this issue Sep 28, 2017 · 7 comments
Open

Look up OIDC discovery document #24

nbarbettini opened this issue Sep 28, 2017 · 7 comments

Comments

@nbarbettini
Copy link
Owner

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
Copy link
Contributor

jerriep commented Feb 28, 2018

How do you envision the UX for this to work?

@nbarbettini
Copy link
Owner Author

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:

  • Indicate a discovery document was loaded
  • Include a link to view the raw discovery document
  • Auto-populate Authorize URI
  • Provide suggestions/guards around supported grant types

@nbarbettini
Copy link
Owner Author

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
Copy link
Contributor

jerriep commented Mar 12, 2018

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
Copy link

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
Copy link
Owner Author

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants