Initial required files

This commit is contained in:
2025-07-15 14:19:47 +03:30
parent deeeebb6d1
commit b23b66a02b
4 changed files with 35 additions and 2 deletions
+8 -1
View File
@@ -45,4 +45,11 @@ wp-config.php
#
# Note: If you wish to whitelist themes,
# uncomment the next line
#/wp-content/themes
#/wp-content/themes
*.zip
.DS_Store
.idea/
vendor/
node_modules/
.env
+25 -1
View File
@@ -1,2 +1,26 @@
# wp-authenticate-bridge
# dabestaniha-authenticate-bridge
Authenticate WordPress user via json web token from Laravel Application.
## Features
- Create user if not exists
- Login via JWT token
- Admin settings page
- Custom invalid token page
## Usage
Send users to:
https://your-wp-site.com/dabestaniha/login?laravel_login_token=TOKEN
With required data encoded in the token.
Payload JWT:
```json
{
"email": "user@example.com",
"name": "Test User",
"exp": 1752575400
}
```
+1
View File
@@ -0,0 +1 @@
<?php
+1
View File
@@ -0,0 +1 @@
<?php