New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mdui:Logo not shown in discovery #150
Comments
Is this still an issue? There has been a lot of work in the ra21 branch and some of it has not been backported to the main branch. |
Also note that there are some new options for controlling the discovery display that might be involved here. |
I discussed this with Scott during last IdPy VC's and he told me this new behaviour was by-design. But if there's a switch to restore the display of IdP logo's I'm curious to find out! |
On 2018-09-07 08:42, Martin wrote:
I discussed this with Scott during last IdPy VC's and he told me this
new behaviour was by-design. But if there's a switch to restore the
display of IdP logo's I'm curious to find out!
Yeah there is - you can basically create your own page and call the
disco JS yourself. There are hooks for all the rendering functions
in there. The ds.html template is doing exactly this in fact. If
you checkout the ra21.html you can see how an alternative disco
implementation works - just another call to the discovery js.
This is moving very fast tho. PRs welcome!
|
What I meant was that if you look at ra21.html you can see how to override the rendering code entirely. The mustache templates are just one way of doing this. I'm sorry the documentation is lagging quite a bit here. |
Probably this issue do not depend by this js call, that is the following:
its returning JSON is
As we can see there isn't any icon item in the JSON response, despite of ".json" call, that is the following and it have:
Even if we choose the .json resource as url for the search, as follow:
the data is not coherent and the logo will not be rendered as we expect.... I also noticed that I just added I got it to work, I just have to take a look also to ra21 related branches... If you have something to say I'm curious, please tell me more! :-) |
Note that this is now legacy code. The roadmap will do away with all of this in favor of a new DS interface from the TheIdentitySelector project |
Great to hear this, @leifj. If someone of you can publish a roadmap or tell us what will be the features and in which release date they will come, I could follow you better in a active collaborationship. Otherwise I'll do my best, continuing sharing as you are also doing, hoping to help someone like me with a lot of questions and little time! thank you all |
The roadmap is right here in the github wiki. |
...so, probably IdentitySelector is the following: I'd like to merge all these library in a django project, you probably already know this. Probably you need more time to reach those goals, hope to see those things working with a robust documentation too. Hope to help you also in a productive way. Good job |
yes
I'm less convinced about that. There really is no need to serve up HTML, JS and CSS from the same point as your backend API (which pyFF is).
Yes |
I meant Django as a app to deploy a frontend that used js libs to do the call. No serverside processing at all. Django is so modular that everything would come as an app. My next step would be the inspection of pyffd' main(). I'll run It with uwsgi, to set the Number of workers and other customizations. Argparse refactoring related to this #165 (comment) would be coupled with this. Thank you for your time and Sorry for the off topic |
Skickat från min iPhone
26 apr. 2019 kl. 19:14 skrev Giuseppe De Marco ***@***.***>:
I meant Django as a app to deploy a frontend that used js libs to do the call. No serverside processing at all.
How does django help? The frontend is static resources. lighthttpd/ngnix/apache in a container is enough... or even deploy to a cdn
… Django is so modular that everything would come as an app.
My next step would be the inspection of pyffd' main(). I'll run It with uwsgi, to set the Number of workers and other customizations. Argparse refactoring related to this #165 (comment) would be coupled with this. Thank you for your time and Sorry for the off topic
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Ok, I understand that Django Is a warm topic 😂 |
I'm going to close this issue since it is referring to code that is about to be deprecated and removed from pyFF. Work on the UX has moved to mdq-browser and theidentityselector/thiss-js for the admin ui and discovery service respectively. |
We are investigating deployment of pyFF upstream/master again but noticed the absence of the carefully supplied IdP mdui:Logo in the discovery interface.
Code Version
git master
Expected Behavior
A discovery page that shows IdP logo's in selection list
Current Behavior
IdP's are shown, but without logo
Steps to Reproduce
The text was updated successfully, but these errors were encountered: