All Projects → emqx → emqx-auth-http

emqx / emqx-auth-http

Licence: Apache-2.0 license
EMQ X HTTP Authentication/ACL Plugin

Programming Languages

erlang
1774 projects
Makefile
30231 projects

Projects that are alternatives of or similar to emqx-auth-http

emqx-auth-mysql
Authentication, ACL with MySQL Database
Stars: ✭ 52 (+23.81%)
Mutual labels:  acl, emqx, emqx-plugin
emqx-auth-username
EMQ X Authentication with Username and Password
Stars: ✭ 16 (-61.9%)
Mutual labels:  emqx, emqx-plugin
emqx-lwm2m
EMQ X LwM2M Gateway
Stars: ✭ 29 (-30.95%)
Mutual labels:  emqx, emqx-plugin
Casbin Server
Casbin as a Service (CaaS)
Stars: ✭ 171 (+307.14%)
Mutual labels:  acl
Acl Papers
paper summary of Association for Computational Linguistics
Stars: ✭ 189 (+350%)
Mutual labels:  acl
Rbac
Hierarchical Role-Based Access Control for Node.js
Stars: ✭ 254 (+504.76%)
Mutual labels:  acl
event-extraction-paper
Papers from top conferences and journals for event extraction in recent years
Stars: ✭ 54 (+28.57%)
Mutual labels:  acl
Vue Browser Acl
Easy user access control in Vue for better UX. Build on top of the browser-acl package.
Stars: ✭ 162 (+285.71%)
Mutual labels:  acl
loopback-component-mq
Loopback Component for working with a Message Queue
Stars: ✭ 19 (-54.76%)
Mutual labels:  acl
Bouncer
Eloquent roles and abilities.
Stars: ✭ 2,763 (+6478.57%)
Mutual labels:  acl
Tengine
Tengine is a lite, high performance, modular inference engine for embedded device
Stars: ✭ 4,012 (+9452.38%)
Mutual labels:  acl
Awesome Iam
👤 Identity and Access Management Knowledge for Cloud Platforms
Stars: ✭ 186 (+342.86%)
Mutual labels:  acl
TradeTheEvent
Implementation of "Trade the Event: Corporate Events Detection for News-Based Event-Driven Trading." In Findings of ACL2021
Stars: ✭ 64 (+52.38%)
Mutual labels:  acl
Caddy Authz
Caddy-authz is a middleware for Caddy that blocks or allows requests based on access control policies.
Stars: ✭ 221 (+426.19%)
Mutual labels:  acl
Security
🔑 Provides authentication, authorization and a role-based access control management via ACL (Access Control List)
Stars: ✭ 180 (+328.57%)
Mutual labels:  acl
kong-plugin-jwt-crafter
Kong plugin to automatically issue a JWT token if consumer is authenticated and has a JWT credential
Stars: ✭ 35 (-16.67%)
Mutual labels:  acl
Acl Anthology
Data and software for building the ACL Anthology.
Stars: ✭ 168 (+300%)
Mutual labels:  acl
Angular Acl
Role-based permissions for AngularJS
Stars: ✭ 200 (+376.19%)
Mutual labels:  acl
Chi Authz
chi-authz is an authorization middleware for Chi
Stars: ✭ 248 (+490.48%)
Mutual labels:  acl
dynamic-data-and-capabilities
[ARCHIVED] Dynamic Data and Capabilities in IPFS Working Group
Stars: ✭ 57 (+35.71%)
Mutual labels:  acl

emqx_auth_http

EMQ X HTTP Auth/ACL Plugin

Build

make && make tests

Configure the Plugin

File: etc/emqx_auth_http.conf

##--------------------------------------------------------------------
## Authentication request.
##
## Variables:
##  - %u: username
##  - %c: clientid
##  - %a: ipaddress
##  - %r: protocol
##  - %P: password
##  - %C: common name of client TLS cert
##  - %d: subject of client TLS cert
##
## Value: URL
auth.http.auth_req = http://127.0.0.1:8080/mqtt/auth
## Value: post | get | put
auth.http.auth_req.method = post
## Value: Params
auth.http.auth_req.params = clientid=%c,username=%u,password=%P

##--------------------------------------------------------------------
## Superuser request.
##
## Variables:
##  - %u: username
##  - %c: clientid
##  - %a: ipaddress
##  - %r: protocol
##  - %P: password
##  - %C: common name of client TLS cert
##  - %d: subject of client TLS cert
##
## Value: URL
auth.http.super_req = http://127.0.0.1:8080/mqtt/superuser
## Value: post | get | put
auth.http.super_req.method = post
## Value: Params
auth.http.super_req.params = clientid=%c,username=%u

##--------------------------------------------------------------------
## ACL request.
##
## Variables:
##  - %A: 1 | 2, 1 = sub, 2 = pub
##  - %u: username
##  - %c: clientid
##  - %a: ipaddress
##  - %r: protocol
##  - %m: mountpoint
##  - %t: topic
##
## Value: URL
auth.http.acl_req = http://127.0.0.1:8080/mqtt/acl
## Value: post | get | put
auth.http.acl_req.method = get
## Value: Params
auth.http.acl_req.params = access=%A,username=%u,clientid=%c,ipaddr=%a,topic=%t

Load the Plugin

./bin/emqx_ctl plugins load emqx_auth_http

HTTP API

200 if ok

4xx if unauthorized

License

Apache License Version 2.0

Author

EMQ X Team.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].