Closed (duplicate)
Project:
OpenID Provider
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2011 at 16:21 UTC
Updated:
31 Jan 2012 at 15:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
lelizondo commentedAnd the patch
Comment #2
lelizondo commentedThe patch in #1 is not working, use this one.
Comment #3
anarcat commentedA little bit of review.
Sounds redundant - "automatic redirection" is always "without asking", isn't it? :)
Watch out for extra whitespace in your patch.
Don't use an extra variable here, just test if (variable_get(..)). Also, need a space after that if statement.
Do we really need to save that here? Can't we just bypass the checks?
I guess that would be my main objection to this patch - I would prefer if that setting wouldn't be persistent in two places in the database - if it is enabled, I would expect the users settings to *not* be saved to the database. Exposing the user to the database internals also doesn't seem very usable, so at the very least I would make it so that the table is effectively cleared when the setting is disabled again. But even that is too crude a solution.
Let's just not save the setting please.
I otherwise agree with the feature in principle.
Comment #4
markwk commentedI didn't see this patch / feature earlier should I built my own feature that ties in the openid_sso_provider module. Here's the patch to provide the automatic login.
Comment #5
paranojik commentedI think this #314781 is the issue where most of the work has already been done. We may close this as duplicate. (?)
Comment #6
anarcat commentedIndeed, see #314781: Access rules for realms, even though I think the two features could be orthogonal.
Comment #7
markwk commentedI'm a bit behind on this issue. It's been awhile. Why wouldn't this approach about allowing certain sites as automatically accepted?
Comment #8
anarcat commentedI think you're missing a verb there. ;) I don't understand what you mean...
Comment #9
markwk commentedWhat I mean is: Why wouldn't this approach about allowing certain sites as automatically accepted work?
Comment #10
anarcat commentedI am not saying it wouldn't work, i am saying it overlaps with the work done in #314781: Access rules for realms. Furthermore from what I can tell your patch depends on a third party table that is not created by the openid_provider module, so it just wouldn't work by itself.