top | item 37850034

(no title)

kekub | 2 years ago

Amazing. I was looking for something like this about a year ago. Looks very promising and may be a good drop in replacement for some simple Auth0 use-cases as well as homelab setups. I was not able to get past „ redirect_uri must be on the same domain as client_id“. Maybe you can give an example of a valid client id for your demo instance.

discuss

order

camsjams|2 years ago

I too found this hard to reason, but figured it out:

If you're demoing using https://openidconnect.net for example, set your Client ID to https://openidconnect.net

Likewise, your ClientID should match the url of the website you are using this to connect with.

This was mentioned in the GitHub readme too but didn't click until trying the demo

apitman|2 years ago

Sorry, this is indeed not very clear. Others already answered well, but if you look at the example[0] config you can see how you would use your own instance of obligator as a client to the instance running at lastlogin.io. This is a bit meta, but applies equally to any client application.

[0]: https://github.com/anderspitman/obligator#running-it