umbraco / Umbraco.AuthorizedServices

Umbraco Authorized Services is an open-source package designed to reduce the effort needed to integrate third party services that require authentication and authorization via an OAuth flow.
MIT License
14 stars 7 forks source link

Yahoo Authentication #47

Closed hassan123-dev closed 7 months ago

hassan123-dev commented 7 months ago

I am running the Umbraco latest code through Visual Studio I have installed the "Umbraco.AuthorizedServices" NuGet package. I have provided the Yahoo configuration as defined in the documentation. Now I am not able to open the relevant screen.

image

image

What other steps are required to enable Yahoo authentication? What Redirect URI should I set in the Yahoo app? Where should I declare my redirect URI in the Umbraco app?

AndyButland commented 7 months ago

It looks like your configuration isn't quite in the right place - the AuthorizedServices section should be a sibling the CMS section, not a child. Please see the example here.

hassan123-dev commented 7 months ago

@AndyButland thanks for your help!

image

Now when I click on the authorize service button, it gives an error for an invalid redirect URI.

Can you help me with the following questions? What Redirect URI should I set in the Yahoo app? Where should I declare my redirect URI in the Umbraco app?

My target is to set up CMS with Yahoo authentication.

AndyButland commented 7 months ago

My target is to set up CMS with Yahoo authentication.

I think you might be in the wrong place then I'm afraid - the package you are using is a helper to create integrations with third-party services, by handling some of the plumbing around authentication and authorization with these services.

If you are specifically looking to use an external login provided with the CMS for your user accounts, you should likely be reading from here.


That said, if you do have reason to keep using the package, details of the call back URLs to configure on the app are here. I'll get this added to the docs to, as they should have been listed there as well.

Configuration that someone has verified with Yahoo is here.

hassan123-dev commented 7 months ago

@AndyButland Thanks again for the guidance.

Now I need to follow the documentation from here to implement Yahoo SSO. Correct?

AndyButland commented 7 months ago

I believe so, but I'm not particularly knowledgeable in this area, so it'll probably be best to head to the Umbraco forums is you have trouble getting it setup.

I'll close this issue now as the original issue is resolved, and what you are now working on isn't really related to the package.