azure-samples / ms-identity-macos-swift-objc Goto Github PK
View Code? Open in Web Editor NEWDesktop application for MacOS calling Microsoft Graph. It's written in swift and uses the Microsoft identity platform
License: MIT License
Desktop application for MacOS calling Microsoft Graph. It's written in swift and uses the Microsoft identity platform
License: MIT License
The description states that this library allows swift to read MSGraph.
The baseline does NOT import MSGraphSDK and yet makes a call to 'https://graph.microsoft.com/v1.0/me'
So in an attempt to better understand and to verify the validity of the description:
When I run the modified app the various prompts for authentication runs as expected - BUT
Result from Graph: {
error = {
code = AuthenticationError;
innerError = {
date = "2020-06-11T18:51:33";
"request-id" = "804cf5a5-ec1b-402e-8037-ea020f78a0d4";
};
message = "Error authenticating with resource";
};
})
Please clarify what I have failed to understand!
After the alert: “MSALMacOS” wants to use “microsoftonline.com” to sign in." and i press continue, i expect the safari browser to automatically open and continue the login process but instead nothing happens after pressing continue.
TID=5176321 MSAL 1.1.26 Mac 12.1.0 [2022-02-03 17:48:57 - 53D242BA-7AEF-43CC-87E2-FDEF1149B1D2] [MSAL] Resolved authority, validated: YES, error: 0
TID=5175490 MSAL 1.1.26 Mac 12.1.0 [2022-02-03 17:48:57 - 53D242BA-7AEF-43CC-87E2-FDEF1149B1D2] [MSAL] Start webview authorization session with webview controller class MSIDSystemWebviewController:
Why does the title contain 'objc' when in fact the application is entirely in Swift?
How can you call the MSGraphEndpoint without a pod & import for 'MSGraphClientSDK'?
Does MSAL somehow include this access within it?
2.How to clear session and tokens on that same button if it has session and token of previous account.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.