Auth0.ExcelAddin | sample VSTO Excel Add-in that authenticates users

 by   sgmeyer C# Version: Current License: MIT

kandi X-RAY | Auth0.ExcelAddin Summary

kandi X-RAY | Auth0.ExcelAddin Summary

Auth0.ExcelAddin is a C# library. Auth0.ExcelAddin has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This sample demonstrates how to build a VSTO Excel 2016 add-in (C#). This sample creates a Ribbon with a single button. When the user clicks the button a web browser will open redirecting the user the /authiorize endpoint. Once the user completes login the code and code verifier will be returned and exchanged for tokens. This sample uses Auth0 as an authentication and authorization server using Authorization Code Grant Flow with PKCE. A special note about Excel. If you are migrating from the legacy (deprecated) SDK Auth0.WinformsOrWPF there is a significant breaking change. In Excel the System.Threading.SynchronizationContext.Current is set to null. With the old SDK this was not problematic. However, in the new SDK Auth0.OidcClient.WinForms takes on a dependency to IdentityModel.OidcClient2. This SDK does a lot asynchronous calls with await/async and utilizes ConfigureAwait(false). At some point the SDK makes a call to System.Net.Http.HttpClient.GetUrl(string). This class is thread safe and when used will run on a new thread in a mutli-tenant apartment. After the call is made .NET will look to see if the SynchronizationContext is not null and use that for swithing the current thread. If .NET finds this as null it falls back to using the ThreadScheduler. In the case of ThreadScheduler the remaining method calls will continue on the MTA thread. Eventually the method attempts to invoke the WebBrowser object and this fails, because it requies to be invoked in a single-threaded apartment. The following example solves this by setting up a SynchronizationContext before invoking login.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Auth0.ExcelAddin has a low active ecosystem.
              It has 4 star(s) with 1 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 1 open issues and 0 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of Auth0.ExcelAddin is current.

            kandi-Quality Quality

              Auth0.ExcelAddin has no bugs reported.

            kandi-Security Security

              Auth0.ExcelAddin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              Auth0.ExcelAddin 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

              Auth0.ExcelAddin releases are not available. You will need to build from source code and install.
              Installation instructions are not available. 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 Auth0.ExcelAddin
            Get all kandi verified functions for this library.

            Auth0.ExcelAddin Key Features

            No Key Features are available at this moment for Auth0.ExcelAddin.

            Auth0.ExcelAddin Examples and Code Snippets

            No Code Snippets are available at this moment for Auth0.ExcelAddin.

            Community Discussions

            No Community Discussions are available at this moment for Auth0.ExcelAddin.Refer to stack overflow page for discussions.

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

            Vulnerabilities

            No vulnerabilities reported

            Install Auth0.ExcelAddin

            You can download it from GitHub.

            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/sgmeyer/Auth0.ExcelAddin.git

          • CLI

            gh repo clone sgmeyer/Auth0.ExcelAddin

          • sshUrl

            git@github.com:sgmeyer/Auth0.ExcelAddin.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