Skip to content

Customizing trench login procedure #212

Description

@degenerateddev

Hey, I'm curious whether there already is a system for a custom login procedure or if something like this is planned already.

By itself, the trench login as described here is fine for only authenticating a user and returning an access and refresh token.
What I'm trying to do is, create a login log object on successful login. I can't seem to be able to find a way though, how to customize the default login method you're providing.

Before using the trench auth URLs I was just using simplejwt with a custom login method and serializer. Since I couldn't seem to find a way on how to generate an ephemeral token without using Trenchs default login route, I switched to using yours.

Is there anything to realize this implemented already or planned for the future?

Have a good one and thanks in advance for your help!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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