Skip to content

Commit

Permalink
auth test
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabi-02 committed Jan 18, 2024
1 parent 00c34e4 commit 43b59ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
18 changes: 1 addition & 17 deletions fusionauth/kickstart/kickstart.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@
"defaultTenantId": "d7d09513-a3f5-401c-9685-34ab6c552453",
"adminUsername": "admin",
"adminPassword": "password",
"adminUserId": "00000000-0000-0000-0000-000000000001",
"username": "richard",
"userPassword": "password",
"userUserId": "00000000-0000-0000-0000-111111111111"
"adminUserId": "00000000-0000-0000-0000-000000000001"
},
"apiKeys": [
{
Expand Down Expand Up @@ -70,19 +67,6 @@
"password": "#{adminPassword}"
}
}
},
{
"method": "POST",
"url": "/api/user/registration/#{userUserId}",
"body": {
"user": {
"username": "#{username}",
"password": "#{userPassword}"
},
"registration": {
"applicationId": "#{applicationId}"
}
}
}
]
}
4 changes: 4 additions & 0 deletions services/auth-service/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ app.use(cookieParser());
/** Decode Form URL Encoded data */
app.use(express.urlencoded({ extended: true }));

app.get('/auth/login', async (req, res, next) => {
res.send("WRONG PATH!");
});

app.get('/login', async (req, res, next) => {
const tenant = `${req.query?.tenant}`;
const clientId = `${req.query?.clientId}`;
Expand Down
2 changes: 1 addition & 1 deletion services/auth-service/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.0.3
v1.0.4

0 comments on commit 43b59ba

Please sign in to comment.