Add API for AccessToken#199
Conversation
|
Hi, glad to have you back. I thought I lost you because of my inactivity. As promised my break is over. Since I thought you do not want to continue I did some research for taking over this issue. I now think that using the default DRF token authentication is sufficient for PdfDing, as every user will only have one token at a time. There is no real need for an extra dependency. If you are annoyed by yet another change in requirements I can totally understand you and will merge your PR and change the authentication myself. Of course if you want to do it I am also happy. Just let me know which way you want to proceed. |
|
so based on what you're suggesting, user will have only one token (DRF token). but how will he generate the token? using UI only? if yes. then ig we wont need any extra model or serializers or these endpoints. also, there will only be option to create/delete token by default. if we wanna rotate, we might need custom logic and no, i'm not annoyed by these changes. it totally fine. |
|
Yes, users can only generate / rotate the token via the UI. I think this enough for this project. It will also make things simpler and thus easier to maintain. Many other popular self-hosted projects do it like this as well. I am relieved to hear that you are not fed up! |
|
@wh0th3h3llam1 Are you still working on this? If not, no hard feelings. I just want to know the situation. |
applied changes from conversation in #170 ,
namecan be updated from API.