Comments (16)
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.
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.
Could you paste a link to this gist? Also, I think you could remove symfony cache and try again.
from singlesignonidentityproviderbundle.
https://gist.github.com/timothyjeffcoat/b979b6cca1669315ec27640cc3bb247d
from singlesignonidentityproviderbundle.
i have cleared cache. and retried accessing and still get same error message.
from singlesignonidentityproviderbundle.
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.
I renamed the idp.example.com to idp.example.com:8000 and the sp to consumer1.com:7777
from singlesignonidentityproviderbundle.
Ah. You can't specify the port in this way. The host
should contain only hostname without a port.
from singlesignonidentityproviderbundle.
how do i specify port?
from singlesignonidentityproviderbundle.
There is no way to specify port. symfony/symfony#7592
from singlesignonidentityproviderbundle.
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.
Thanks!
from singlesignonidentityproviderbundle.
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.
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.
@timothyjeffcoat can you provide an examples?
from singlesignonidentityproviderbundle.
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)
- No ServiceProvider managers found HOT 13
- Router class not loaded
- getOTPValidationUrl is not a method of serviceProviderInterface HOT 1
- Non-symfony application SP HOT 1
- Error implementing this HOT 10
- On Logout Success, serviceManager->clear() is not sufficient for clearing '_logout/processed' session variable
- OTP Failure HOT 4
- Update README.md
- Using alongside FOSUserBundle - No route found for "GET /login_check": Method Not Allowed (Allow: POST) HOT 6
- IdP redirecting back to own home page after successful login HOT 5
- remove OTP instead of invalidate it HOT 2
- app.session.get('_security.main.target_path') value is error
- Change code coverage to 100% :)
- symfony 3.4 Too many redirections
- Why assume GET parameter in _target_path? HOT 8
- The token storage contains no authentication token HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from singlesignonidentityproviderbundle.