Git Product home page Git Product logo

Comments (6)

jhpyle avatar jhpyle commented on July 17, 2024

It is working for me and I have:
image
It is possible that Microsoft is returning an error message as JSON. I would look closely at the browser console to see if there are any error messages anywhere, i.e. in the network tab, or the URL parameters.
So I don't think you are missing an API.
It might have something to do with whether the permission extends to the user you are logging in as. (Maybe the "delegation" concept.) My only way to test the integration is through my organization's account, and there might be something different between my organization's Azure account and your organization's Azure account that explains why Microsoft's servers are responding differently.

from docassemble.

JamesVth avatar JamesVth commented on July 17, 2024

For your app service, do you have an authentication provider set up?

from docassemble.

jhpyle avatar jhpyle commented on July 17, 2024

I am not sure what you mean. I set up an App Registration in Azure Portal allow any user in my organization's Office 365 domain to sign in to a docassemble server using their Office 365 credentials. So the authentication provider is Azure. Under the Authentication section of the App Registration I set up a "Web" type of app.

from docassemble.

JamesVth avatar JamesVth commented on July 17, 2024

Authentication Provider is a setting under Authentication in the App Service / Web App that the container runs under (at least in our configuration). We aren't using an authentication provider in our new installation currently.

I did check the developer console in the browser. The application is returning a "501 NOT IMPLEMENTED" error from "https://{OUR HOST NAME}.azurewebsites.net/callback/azure". I'm digging a little deeper into that.

from docassemble.

JamesVth avatar JamesVth commented on July 17, 2024

I just wanted to add an update here. I think this ended up being an issue with how hard it is to revoke user granted permissions. I believe offline_access was causing our issue, but since I don't permission at the tenant level to remove that I had to create a whole new App Registration and limit it to the permissions you outlined above. It is now working as intended. Thanks for your time and help!

from docassemble.

JamesVth avatar JamesVth commented on July 17, 2024

I should add. You may want to revise the installation section as this:

image

lines up with the graph description of "offline_access", which our tenant requires admin consent for and without appropriate tenant level access you cannot remove this at the Enterprise Application level. The 4 items in your screen shot ended up being all we needed.

from docassemble.

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.