Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get access token for use with other Microsoft API's #31

Open
mw-tim opened this issue Jul 26, 2018 · 2 comments
Open

Get access token for use with other Microsoft API's #31

mw-tim opened this issue Jul 26, 2018 · 2 comments

Comments

@mw-tim
Copy link

mw-tim commented Jul 26, 2018

Hi, I used to be able to get the access token from the cookies when logged in which I then used for doing active directory queries. However after using the most recent version I can no longer do this. How is it possible to get the access token when logged in?

@wpo365
Copy link
Owner

wpo365 commented Jul 28, 2018

This must be a pretty old version that would allow you to do so. A long time ago we switched from using cookies to using WordPress user meta, because of the many issues we experienced with cookies e.g. header growing bigger than the allowed size etc. We are currently redesigning the integration and modernize our SharePoint plugin and will publish an integration example on our website in the next few weeks / months.

But for now, your scenario is not supported by our plugin. Also, the free version never retrieved a graph access token - it only retrieves an authorization code and Open ID token. Are you referring to the premium version instead?

@wpo365
Copy link
Owner

wpo365 commented Dec 5, 2018

I know this is a very old thread but in the latest version of our plugins we now provide an Ajax service that can be consumed by third party app developers. Please consult the online documentation here https://www.wpo365.com/pintra-fx/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants