Coder Social home page Coder Social logo

Comments (5)

satkanth avatar satkanth commented on July 21, 2024 1

I also have a similar need and my use case is where I am trying to use the angular-auth-oidc package for authenticating an office add in, following the pattern described in
https://github.com/OfficeDev/Office-Add-in-UX-Design-Patterns/blob/master/patterns/auth-single.md
For this I need to be able to open a popup and have the authentication flow go through and then go back to the flow of the add in. Is this something that can be done with this library ? Any thoughts/help will be appreciated.

Thanks.

from angular-auth-oidc-client.

profet23 avatar profet23 commented on July 21, 2024

Has anyone begun work on this?

from angular-auth-oidc-client.

damienbod avatar damienbod commented on July 21, 2024

No @profet23 What is it you want exactly? Would you like that the login process is inside a popup?

  1. User clicks login
  2. popup opens
  3. after successful login tokens returned, and app has tokens

Greetings Damien

from angular-auth-oidc-client.

profet23 avatar profet23 commented on July 21, 2024

My specific workflow desire might be bit weird.

I would like for child iFrames to be able to initiate login automatically via a popup.

The popup would either show the login form, and allow login or just get the login token from the auth server (when the user is already authenticated with the auth server).

My use case is that I have an app that requires child iframes on different domains (also running angular-auth-oidc-client). I figure with the popup workflow, I don't have to worry about child iframes trying to redirect to a login page, which would not be desired functionality.

Thanks @damienbod

from angular-auth-oidc-client.

damienbod avatar damienbod commented on July 21, 2024

This should be supported now

from angular-auth-oidc-client.

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.