-
Notifications
You must be signed in to change notification settings - Fork 28
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
feature: middleware to fix /auth/login/ page #32
base: master
Are you sure you want to change the base?
Conversation
…n via OIDC to organisations
@mavriq Sorry I missed this MR! Will look at it now |
Hi, @max-wittig I used |
@mavriq Mhmm I'm not really sure what it does. Could you provide some sort of screenshot or so? |
just now I can't make screeenshot, but I can tell you how it work:
later I try to create screenshot |
@max-wittig, as you asked, screenshot of |
Hi, @max-wittig, have you some news about this PR? I didn't find an easier way. |
@mavriq I'm not sure, this seems a bit patched. Normally we use the button on the right of your screenshot |
_orgs = Organization.objects.filter( | ||
id__in=(AuthProvider.objects.filter(provider='oidc') | ||
.values('organization_id'))) | ||
for org in _orgs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we have like 50 organizations in one instance. That would really mess up the page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm
yes, it must look crazy
can we add regex-variable to filter by slug-field? with default value .*
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the 970f1e2 I did it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@max-wittig maybe, you want add scrolbar, or move list of organizations to select/select2 ?
I can do it, but it will be ugly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mavriq I'm not sure why we should follow this direction at all to be honest. Why can't the user just type in the org on the right?
…slug to be displayed on the login-page
@max-wittig I guess we can close this one as it's not the direction we want to go? |
@mavriq Thanks for your contribution here, but sadly this doesn't follow our direction for this project. Maybe, if you really want it you could make it optional? |
feature: added middleware to fix /auth/login/ for adding link to login via OIDC to organisations