UmbracoIdentityExtensions | Code files & installation | OAuth library

 by   umbraco C# Version: v2.0.0 License: MIT

kandi X-RAY | UmbracoIdentityExtensions Summary

kandi X-RAY | UmbracoIdentityExtensions Summary

UmbracoIdentityExtensions is a C# library typically used in Security, OAuth applications. UmbracoIdentityExtensions has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

An Umbraco add-on package that enables easy extensibility points for ASP.Net Identity integration with the Umbraco backoffice including a simple OAuth token server and snippets on how to incorporate custom OAuth authentication providers for the back office.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              UmbracoIdentityExtensions has a low active ecosystem.
              It has 35 star(s) with 22 fork(s). There are 25 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 30 have been closed. On average issues are closed in 355 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of UmbracoIdentityExtensions is v2.0.0

            kandi-Quality Quality

              UmbracoIdentityExtensions has 0 bugs and 0 code smells.

            kandi-Security Security

              UmbracoIdentityExtensions has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              UmbracoIdentityExtensions code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              UmbracoIdentityExtensions is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              UmbracoIdentityExtensions releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of UmbracoIdentityExtensions
            Get all kandi verified functions for this library.

            UmbracoIdentityExtensions Key Features

            No Key Features are available at this moment for UmbracoIdentityExtensions.

            UmbracoIdentityExtensions Examples and Code Snippets

            Umbraco Identity Extensibility,Installation
            C#dot img1Lines of Code : 4dot img1License : Permissive (MIT)
            copy iconCopy
            Install-Package UmbracoCms.IdentityExtensions
            
            Install-Package UmbracoCms.IdentityExtensions.Google
            
            Install-Package UmbracoCms.IdentityExtensions.Facebook
            
            Install-Package UmbracoCms.IdentityExtensions.AzureActiveDirectory
              

            Community Discussions

            Trending Discussions on UmbracoIdentityExtensions

            QUESTION

            Umbraco 8 backoffice login with IdentityServer4
            Asked 2020-Mar-09 at 17:53

            Background

            I'm quite new to Umbraco but have been trying to use IdentityServer4 for the BackOffice of Umbraco. For the IDP, I've used the in-memory configuration (is4inmem template) found here.

            For Umbraco I've used the UmbracoIdentityExtensions to configure OpenId Connect.

            I've been mainly following this tutorial (this is however, for Umbraco 7).

            The problem

            I do have the 'Sign in with OpenId connect' button which I configured, but when I try to log in using the IDP, Umbraco does not log me in. I keep getting returned to the login page. Whenever I go to the IDP page, however, I am logged in and can see I've given access as seen in the picture below.

            Whenever I log in with an Umbraco account, and then try to 'Link your OpenId Connect account', it does nothing, but upon logging out an error message appears in the screen: 'An error occurred, could not get external login info' I've tried to use different configuration settings, but without success.

            Code

            IDP Config.cs

            ...

            ANSWER

            Answered 2020-Mar-09 at 17:53

            I've finally figured it out. There were several issues:

            1. Correct the auth cookie

            Instead of using DefaultAuthenticationTypes.ExternalCookie as SignInAsAuthenticationType , I am now using Umbraco.Core.Constants.Security.BackOfficeExternalAuthenticationType.

            2. Set the AuthenticationType

            Set the AuthenticationType in the OpenIdConnectAuthenticationOptions. It must match the name of the Authority in order for auto-link to work.

            Important: Set it again after identityOptions.ForUmbracoBackOffice("btn-microsoft", "fa-windows"); explicitly since it prefixes it with 'Umbraco.' after the method call.

            3. Include the email claim

            I've added the email claim, this is also required for auto-link to work.

            Scope = "openid email profile application.profile",

            4. Ensure that you have any form of name claim

            I've set AlwaysIncludeUserClaimsInIdToken to true in the IDP, so the id claims get automatically in Umbraco. My ClaimsTransformer looks like this now:

            Source https://stackoverflow.com/questions/60577872

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install UmbracoIdentityExtensions

            This project contains a few packages:. This is the core package which installs Identity extensisibiliy points. It includes a very simple OAuth token server which can be extended to suit you needs. It also contains documentation and codefiles to allow you to extend the authentication flow of the Umbraco back office. The below packages will help you get started with External login providers (OAuth) for the Umbraco back office. What about Identity Server? Yes that will of course work too, here's a great community blog post about setting up that integration.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/umbraco/UmbracoIdentityExtensions.git

          • CLI

            gh repo clone umbraco/UmbracoIdentityExtensions

          • sshUrl

            git@github.com:umbraco/UmbracoIdentityExtensions.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular OAuth Libraries

            satellizer

            by sahat

            cpprestsdk

            by microsoft

            oauth2-server

            by thephpleague

            scribejava

            by scribejava

            socialite

            by laravel

            Try Top Libraries by umbraco

            Umbraco-CMS

            by umbracoC#

            AngularWorkbook

            by umbracoJavaScript

            OurUmbraco

            by umbracoJavaScript

            Umbraco.UI

            by umbracoTypeScript

            Belle

            by umbracoJavaScript