Comments (7)
Re-opening as I'm going to add a stream lined flow for the OAuth2 Postman functionality.
from microsoftgraph-postman-collections.
Thanks for the tip. i'll change that.
from microsoftgraph-postman-collections.
No. this only works when straight user name and password. As per the readme, its not recommended with production environments where things like MFA would be configured. You can obtain a developer environment by signing up for the Office 365 developer program. https://developer.microsoft.com/en-us/office/dev-program
from microsoftgraph-postman-collections.
Actually sorry, you can achieve this by using the native OAuth2 flow. It's a little more configuration
https://learning.getpostman.com/docs/postman/sending_api_requests/authorization/#oauth-20
You have to use the endpoints from your application in portal.azure.com to do this. Once you have the access token you can add it to your environment variables. This uses a UI to sign the user in.
The other way is to go into Graph Explorer, sign in, use developer console and type tokenPlease()
from microsoftgraph-postman-collections.
Thanks @jthake-msft. I wasn't going to be using this on the production environment, it was for our test environment which mimic's our production environment setup. Unfortunately I have no control of turning off MFA / OKTA in the test environment either. I'll check out the OAuth2 flow. Again thank you.
from microsoftgraph-postman-collections.
@pmatthews05 I have written steps now on how to do this. Little bit more work to get going. Please give me any feedback here,
from microsoftgraph-postman-collections.
Hi @jthake-msft ,
Sorry it's taken me a couple of days to get round to this. I have tested your README.md and it is all correct apart from the callback URL should be "https://app.getpostman.com/oauth2/callback" not "https://www.getpostman.com/oauth2/callback" if you have followed Day 9 correctly.
from microsoftgraph-postman-collections.
Related Issues (20)
- Authentication using Certificates HOT 2
- Scope does not include Application Permission "Contacts.Read" even with granted admin consent HOT 2
- Request to add PATCH to add content to an existing OneNote Page HOT 2
- Missing a beta version HOT 4
- Add to Postman Network HOT 3
- Sharepoint - Lists HOT 2
- Empty values when retrieving Items in a list HOT 1
- Readme.md has incorrect links to collection and environment json (Step 4) HOT 1
- Using Microsoft Graph API to get access to AAD B2C Console .NetCore Console App HOT 1
- Postman Collection issues HOT 2
- Identity Governance such as Entitlement management and Access reviews HOT 2
- Bug on payload for Invite User HOT 2
- import error HOT 1
- Bad Request: Invalid filter clause HOT 3
- Post Get User Access Token bounces HOT 4
- Got a 403 when using calendarview HOT 1
- Clone requests between "On Behalf of a User" folder and "Application" folder HOT 2
- Why am I able to get the info about the OneNote section that I want but I can't get the list of pages in that section? HOT 2
- Authorization header? HOT 1
- Incomplete Postman collection HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoftgraph-postman-collections.