GithubHelp home page GithubHelp logo

Comments (3)

jthake avatar jthake commented on September 26, 2024

You will require to consent for the user through an interactive page if you do not do the admin consent approach that I show in the video embeddded on the readme page.
Just for validation, if you go to Graph Explorer and sign in as this user and grant those permissions does it work?

from microsoftgraph-postman-collections.

jackal47 avatar jackal47 commented on September 26, 2024

Thanks Jeremy,

As I understand, application permissions are required for my app to allow signing in without redirecting. The problem is that app permission to read email is too much for me as it allows reading emails of all users in organization.
My goal is to use a background app which reads emails of a specific user who's credentials are used to authenticate through my app. It's a backend service which needs to take some actions based on received emails. It has it's own AD account for this purpose.
Is there a way to log in with this user using only REST API and delegated permissions?
Webhooks would also work for me if my service wasn't in a private cloud, so at the moment I think my only solution is to authenticate with REST somehow.

from microsoftgraph-postman-collections.

jthake avatar jthake commented on September 26, 2024

Sorry i never replied here. But for delegated (on-behalf-of) permissions you can also use Postman authorization tab in requests which I describe here
https://github.com/microsoftgraph/microsoftgraph-postman-collections#setting-up-on-behalf-of-delegated-access

from microsoftgraph-postman-collections.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.