Coder Social home page Coder Social logo

Comments (16)

korotovsky avatar korotovsky commented on July 17, 2024

Did you include this routing into your routing.yml?

# app/config/routing.yml:
sso:
    resource: .
    type:     sso

Could you also paste your app/cache/dev/appDevUrlMatcher.php file to gist?

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

I did add that to the routing.

I have created a gist. My first time. So, let see if this works

<script src="https://gist.github.com/timothyjeffcoat/b979b6cca1669315ec27640cc3bb247d.js"></script>

from singlesignonidentityproviderbundle.

korotovsky avatar korotovsky commented on July 17, 2024

Could you paste a link to this gist? Also, I think you could remove symfony cache and try again.

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

https://gist.github.com/timothyjeffcoat/b979b6cca1669315ec27640cc3bb247d

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

i have cleared cache. and retried accessing and still get same error message.

from singlesignonidentityproviderbundle.

korotovsky avatar korotovsky commented on July 17, 2024

OK. What hostname do you use on your IdP application? As I see it should be idp.example.com on 8000 port. https://gist.github.com/timothyjeffcoat/b979b6cca1669315ec27640cc3bb247d#file-appdevurlmatcher-php-L277. If not, you have to configure it properly. All possible options you can find here: https://github.com/korotovsky/SingleSignOnIdentityProviderBundle/blob/0.3.x/src/Krtv/Bundle/SingleSignOnIdentityProviderBundle/DependencyInjection/Configuration.php#L23

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

I renamed the idp.example.com to idp.example.com:8000 and the sp to consumer1.com:7777

from singlesignonidentityproviderbundle.

korotovsky avatar korotovsky commented on July 17, 2024

Ah. You can't specify the port in this way. The host should contain only hostname without a port.

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

how do i specify port?

from singlesignonidentityproviderbundle.

korotovsky avatar korotovsky commented on July 17, 2024

There is no way to specify port. symfony/symfony#7592

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

Thank you for your help!! Really appreciate the prompt responses. When I get done creating these demo projects I will post as examples for your bundles.

from singlesignonidentityproviderbundle.

korotovsky avatar korotovsky commented on July 17, 2024

Thanks!

from singlesignonidentityproviderbundle.

adnedelcu avatar adnedelcu commented on July 17, 2024

Have you tried the URL without the last forward slash (like /sso/login)?

I had the same problem and when I removed the last forward slash the route was recognized.

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

I did. Thanks for the comment. At this moment I am having to put this on the back burner and come back to it later.

from singlesignonidentityproviderbundle.

korotovsky avatar korotovsky commented on July 17, 2024

@timothyjeffcoat can you provide an examples?

from singlesignonidentityproviderbundle.

timothyjeffcoat avatar timothyjeffcoat commented on July 17, 2024

Sorry, I don't have any examples. Turned out for my business case I had to use a different method of providing a SSO hybrid solution between my web apps.

from singlesignonidentityproviderbundle.

Related Issues (17)

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.