Skip to content

Add SSH keys on login from LDAP #5545

@NomAnor

Description

@NomAnor
  • Gitea version (or commit ref): master
  • Git version: 2.20.0
  • Operating system: Arch Linux
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

The SSH keys in the LDAP directory are only added to the user accounts when the synchronization task is run not when a user first logs in.

This means that a user can't push as soon as he is logged in and he needs to add the key himself making the key storage in LDAP not so useful.

Is it possible to add the keys when the user is created on first login?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/enhancementAn improvement of existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions