laravel-azure-ad-oauth | socialiate plugin for Laravel applications | Azure library

 by   metrogistics PHP Version: Current License: No License

kandi X-RAY | laravel-azure-ad-oauth Summary

kandi X-RAY | laravel-azure-ad-oauth Summary

laravel-azure-ad-oauth is a PHP library typically used in Cloud, Azure applications. laravel-azure-ad-oauth has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

Drop-in socialiate plugin for Laravel applications for Microsoft Azure SSO.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              laravel-azure-ad-oauth has a low active ecosystem.
              It has 62 star(s) with 57 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 12 open issues and 1 have been closed. There are 7 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of laravel-azure-ad-oauth is current.

            kandi-Quality Quality

              laravel-azure-ad-oauth has 0 bugs and 9 code smells.

            kandi-Security Security

              laravel-azure-ad-oauth has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              laravel-azure-ad-oauth code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              laravel-azure-ad-oauth does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              laravel-azure-ad-oauth releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              It has 283 lines of code, 28 functions and 8 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed laravel-azure-ad-oauth and discovered the below as its top functions. This is intended to give you an instant insight into laravel-azure-ad-oauth implemented functionality, and help decide if they suit your requirements.
            • Refresh an access token .
            • Register the providers .
            • Convert a azure user to an Azure user .
            • Maps User entity to User entity .
            • Handle OAuth response .
            • Get the user .
            • Find or create a user .
            • URL safe base64 decode
            • Get user by token .
            • Register Azure User
            Get all kandi verified functions for this library.

            laravel-azure-ad-oauth Key Features

            No Key Features are available at this moment for laravel-azure-ad-oauth.

            laravel-azure-ad-oauth Examples and Code Snippets

            No Code Snippets are available at this moment for laravel-azure-ad-oauth.

            Community Discussions

            Trending Discussions on laravel-azure-ad-oauth

            QUESTION

            Error: Class 'Request' not found in Laravel config\azure-oath
            Asked 2020-Jan-09 at 01:40

            I am using Laravel-5.8 for a web application. In order to integrate Azure AD SSO, I installed this package in my application:

            composer require metrogistics/laravel-azure-ad-oauth

            When, I wanted to relaunch my application I got this error:

            Class 'Request' not found

            The error is found here:

            config\azure-oath.php

            How do I resolve this error?

            Thank you

            ...

            ANSWER

            Answered 2020-Jan-09 at 01:40

            The issue has been solved by the link in @Sunil kumawat 's comment, just add it as an answer to make it easier for others to find here.

            https://github.com/metrogistics/laravel-azure-ad-oauth/issues/1

            I deleted that part of the code, now the code is like this: 'redirect' => '/ login / microsoft / callback', and it works for me.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install laravel-azure-ad-oauth

            If you are using Laravel 5.5 or greater, the service provider will be detected and installed by Laravel automatically. Otherwise you will need to add the service provider and the facade (optional) to the config/app.php file:.
            You will need to make the password field in the users table nullable.
            You will need to have a VARCHAR field on the users table that is 36 characters long to store the Azure AD ID for the user. The default name for the field is azure_id but that can be changed in the config file: 'user_id_field' => 'azure_id',.
            Navigate to Azure Active Directory -> App registrations. Create a new application. Select the "Web app / API" Application Type. Add the "Sign-on URL". This will typically be https://domain.com/auth/login. Click into the newly created app. The "Application ID" is what you will need for your AZURE_AD_CLIENT_ID env variable. Click into "Reply URLs". You will need to whitelist the redirection path for your app here. It will typically be https://domain.com/login/microsoft/callback. Click "Save". Select the permissions required for you app in the "Required permissions" tab.
            Navigate to Azure Active Directory -> App registrations.
            Create a new application
            Choose a name
            Select the "Web app / API" Application Type
            Add the "Sign-on URL". This will typically be https://domain.com/auth/login
            Click "Create"
            Click into the newly created app.
            The "Application ID" is what you will need for your AZURE_AD_CLIENT_ID env variable.
            Click into "Reply URLs". You will need to whitelist the redirection path for your app here. It will typically be https://domain.com/login/microsoft/callback. Click "Save"
            Select the permissions required for you app in the "Required permissions" tab.
            Add any necessary roles to the manifest:
            Click on the "Manifest" tab.
            Add roles as necessary using the following format: "appRoles": [ { "allowedMemberTypes": [ "User" ], "displayName": "Manager Role", "id": "08b0e9e3-8d88-4d99-b630-b9642a70f51e",// Any unique GUID "isEnabled": true, "description": "Manage stuff with this role", "value": "manager" } ],
            Click "Save"
            In the "Keys" tab, enter a description (something like "App Secret"). Set Duration to "Never Expires". Click "Save". Copy the whole key. This will not show again. You will need this value for the AZURE_AD_CLIENT_SECRET env variable.
            Click on the "Managed application" link (It will be the name of the application);
            Under the "Properties" tab, enable user sign-in. Make user assignment required. Click "Save".
            Under the "Users and groups" tab, add users and their roles as needed.

            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/metrogistics/laravel-azure-ad-oauth.git

          • CLI

            gh repo clone metrogistics/laravel-azure-ad-oauth

          • sshUrl

            git@github.com:metrogistics/laravel-azure-ad-oauth.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