Code Monkey home page Code Monkey logo

ms-identity-macos-swift-objc's People

Contributors

didunayodeji avatar iambmelt avatar kaisong1990 avatar microsoftopensource avatar msftgits avatar oldalton avatar om83 avatar ramya25 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ms-identity-macos-swift-objc's Issues

Why does a small change cause a failure?

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:

  1. I supplied my ClientID
  2. I supplied my redirectURI as stated in the Azure.
  3. I changed kScopes to ["user.read","MailboxSettings.Read"]
  4. I changed getGraphEndpoint() to return "v1.0/me/outlook/masterCategories"

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!

Browser doesn't open

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: 

2 Questions

  1. Why does the title contain 'objc' when in fact the application is entirely in Swift?

  2. How can you call the MSGraphEndpoint without a pod & import for 'MSGraphClientSDK'?
    Does MSAL somehow include this access within it?

Few questions regarding Microsoft login

  1. On click of Microsoft button, I get this message " wants to use “microsoftonline.com” to sign in." and on continue it redirects me to safari browser to login. So far no issue but on VM this message does not show up and nothing happens on Microsoft button. No issue with permission in VM

2.How to clear session and tokens on that same button if it has session and token of previous account.

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.