Skip to content

Allow login for users without oauth2 #48

@frafra

Description

@frafra

It would be nice to not redirect the user to OAuth2Controller as soon as they click on the Log in link, but show the usual login page with an extra button for the OAuth2 authentication, or keep two different Log in links, one for OAuth2 users, one for CKAN users. That would allow existing users to log in.

m.connect('/user/login',
controller='ckanext.oauth2.controller:OAuth2Controller',
action='login')

We could have an option just to map such controller to a different URL, so that it does not override the original one. Any opinion on that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions