Coder Social home page Coder Social logo

Getting silent_refresh_timeout right after "Content Security Policy" violation for "frame-ancestors 'none'" about sample-angular-oauth2-oidc-with-auth-guards HOT 5 CLOSED

robid98 avatar robid98 commented on September 17, 2024
Getting silent_refresh_timeout right after "Content Security Policy" violation for "frame-ancestors 'none'"

from sample-angular-oauth2-oidc-with-auth-guards.

Comments (5)

jeroenheijmans avatar jeroenheijmans commented on September 17, 2024

Silent refresh is a mechanism that relies on loading your Identity Server's pages in an (hidden) iframe. The error message suggests that your chosen type of OpenID server does not support that. Not really something that we can change in the code of this sample repository to help with that, I'm afraid.

from sample-angular-oauth2-oidc-with-auth-guards.

robid98 avatar robid98 commented on September 17, 2024

Hmm that's strange because I just updated on a new version of a Identity Server 4 and I got this errors. On the old version of IDP was all good..

from sample-angular-oauth2-oidc-with-auth-guards.

jeroenheijmans avatar jeroenheijmans commented on September 17, 2024

Hmm if the upgrade of your IDS started this thing, I recommend asking on their related community or support forum.

Either here or there, to be able to help, folks would need you to provide a way to reproduce your situation. Just code of the a config file might not be enough.

As for this repo: it's just a sample implementation, and mostly just one person (me) answering all questions. If you think there's a bug in the sample I'm happy to help, but my time might be too limited for more situational implementation issues. Hope that makes sense?

from sample-angular-oauth2-oidc-with-auth-guards.

robid98 avatar robid98 commented on September 17, 2024

So can may be I can use Refresh Tokens instead a Silent Refresh? This will work with your implementation? Thanks for the answers.

from sample-angular-oauth2-oidc-with-auth-guards.

jeroenheijmans avatar jeroenheijmans commented on September 17, 2024

Haven't recently tried it but with minor adjustments it should also work with refresh tokens, assuming your IDS supports them. If you run into trouble (that's not related to a bug in this repo's code, but implementation wise), I recommend trying something like Stack Overflow or the support forums of your IDS. Good luck!

from sample-angular-oauth2-oidc-with-auth-guards.

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.