Coder Social home page Coder Social logo

Logout - Azure AD? about office-js-helpers HOT 3 CLOSED

officedev avatar officedev commented on May 25, 2024
Logout - Azure AD?

from office-js-helpers.

Comments (3)

GregPartner avatar GregPartner commented on May 25, 2024

Where are the token stored, and can we access those from any place in JS to clear the token store?

Ta

from office-js-helpers.

WrathOfZombies avatar WrathOfZombies commented on May 25, 2024

You can access the local tokens via authenticator.tokens.get(OfficeHelpers.DefaultEndpoints.AzureAD). You can also clear them out via authenticator.tokens.clear().

Also inorder to force a relogin, you can use the force parameter in OfficeHelpers by doing
authenticator.authentice(OfficeHelpers.DefaultEndpoints.AzureAD, true /* auto clears token and forces reauth */)

Note: the force parameter deletes the local token but doesn't sign out. If you haven't signed out then you'll skip the sign in and consent screen completely.

from office-js-helpers.

Murugananths avatar Murugananths commented on May 25, 2024

Hi Team,

I am getting 12002 dialog error when configuring 3rd party configurations. Can you please suggest any possible causes?

from office-js-helpers.

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.