[GH-ISSUE #1801] [Plugin idea] realtime notification and authoriztion #1425

Closed
opened 2026-05-05 12:53:58 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @NoCLin on GitHub (May 10, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1801

Originally assigned to: @blizard863 on GitHub.

I am going to develop a simple authentication system based on the server-side plugin. The main idea is to send an email (or other methods) to notify the developer in real time when an event is received, and developer can jump to the web interface to authorize the corresponding event.

So, I need the Login event to provide as much information as possible, such as the frpc address and port, and what is the meaning of privilege_key?

Also, there is a problem with the NewWorkConn event registration:
1ab23b5e0e/models/plugin/server/manager.go (L54-L56)

Originally created by @NoCLin on GitHub (May 10, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/1801 Originally assigned to: @blizard863 on GitHub. I am going to develop a simple authentication system based on the server-side plugin. The main idea is to send an email (or other methods) to notify the developer in real time when an event is received, and developer can jump to the web interface to authorize the corresponding event. So, I need the Login event to provide as much information as possible, such as the `frpc` address and port, and what is the meaning of privilege_key? Also, there is a problem with the NewWorkConn event registration: https://github.com/fatedier/frp/blob/1ab23b5e0e73709451510cd96ddde6286bc875e7/models/plugin/server/manager.go#L54-L56
Author
Owner

@blizard863 commented on GitHub (May 12, 2020):

what is the meaning of privilege_key

The privilege_key is just for authorization.
you can see frp/models/auth/ to get more information.

<!-- gh-comment-id:627118257 --> @blizard863 commented on GitHub (May 12, 2020): > what is the meaning of privilege_key The privilege_key is just for authorization. you can see frp/models/auth/ to get more information.
Author
Owner

@blizard863 commented on GitHub (May 12, 2020):

https://github.com/fatedier/frp/blob/master/doc/server_plugin_zh.md

<!-- gh-comment-id:627134226 --> @blizard863 commented on GitHub (May 12, 2020): https://github.com/fatedier/frp/blob/master/doc/server_plugin_zh.md
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#1425
No description provided.