Using Custom Authentication Logic #14063
Replies: 2 comments
-
|
The only feasible solution I see is to add any of authentik's supported federated- and social sources to your current setup (i.e. by developing a connector of sorts). |
Beta Was this translation helpful? Give feedback.
-
|
From my understanding Authentik (actually Django) stores password hashes in the following format in the database: I.e. in the case of the default So I assume you could implement a custom hasher that mimicks the implementation of your old system. Then export the records from your old database in a compatible format, i.e. (if you named the algorithm of your custom hasher And import these into the Authentik database as When the Authentik code then calls |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have users, password hashes, and salts stored on a postgres DB, and I want to start using authentik to add OAuth/OIDC, Groups, roles, etc. However, I want to connect to my current database to do so and reuse my current users and passwords to avoid having to reset their passwords. Is there a way to do this?
I was thinking either being able to set the secret and method used to verify password hashes, or being able to setup a custom auth script so I can use my user's to authenticate. I don't have OAuth or any other procotol on this system so I can't use an external source.
Beta Was this translation helpful? Give feedback.
All reactions