|
26820d80f7
|
uuid was added
|
2024-04-21 10:29:24 -07:00 |
|
|
9627c51e7a
|
minor changes to requests and responses
|
2024-04-21 10:29:17 -07:00 |
|
|
be337b4bb9
|
auth handler now can work with refresh token request
|
2024-04-21 10:28:50 -07:00 |
|
|
8482afed8d
|
small improvement to creating a jwt logic
|
2024-04-21 10:28:21 -07:00 |
|
|
e7f706b6e7
|
The refreshtoken no longer cares about when a token expired. When they want a new jtw from refresh a new refresh token is made also
|
2024-04-21 10:27:56 -07:00 |
|
|
b02ed3f86a
|
Moved handler to use interfaces and added the refreshToken endpoint
|
2024-04-21 08:59:51 -07:00 |
|
|
0383d554b8
|
added RefreshTokenRequest as a body
|
2024-04-21 08:59:25 -07:00 |
|
|
e218da5e7d
|
Updated some responses to return the base struct with embedding
|
2024-04-21 08:59:07 -07:00 |
|
|
5b2ff607b9
|
Moved entity id's to int64 that the sql driver returns
|
2024-04-21 08:58:32 -07:00 |
|
|
029710ad31
|
updated pathing in main and updated how to find migrations
|
2024-04-21 08:58:06 -07:00 |
|
|
8d8781eac4
|
added a interface for userService
|
2024-04-21 08:57:32 -07:00 |
|
|
f5eea08c1e
|
updated how refresh token service and repo work
|
2024-04-21 08:57:10 -07:00 |
|
|
439c8ed733
|
moved main.go to cmd folder per best practice
|
2024-04-20 16:45:57 -07:00 |
|
|
a2e740eefd
|
moved away from the api directory to internal per go doc recommendations
|
2024-04-20 08:09:24 -07:00 |
|
|
150c54c4bd
|
Merge pull request 'features/jwt-adustments' (#17) from features/jwt-adustments into main
Reviewed-on: #17
|
2024-04-13 11:55:42 -07:00 |
|
|
db3baa0328
|
jwt now sends the issuer
|
2024-04-13 11:54:54 -07:00 |
|
|
08c2e36881
|
envconfig updated
|
2024-04-13 11:54:35 -07:00 |
|
|
8e5867c46d
|
adding apiurl to env so we can define the issuer
|
2024-04-13 11:54:21 -07:00 |
|
|
4be8726efb
|
Merge pull request 'features/login-response' (#16) from features/login-response into main
Reviewed-on: #16
|
2024-04-12 15:44:35 -07:00 |
|
|
baec55b8a9
|
code format
|
2024-04-12 15:43:30 -07:00 |
|
|
c5a32c68a5
|
login now returns json with token info
|
2024-04-12 15:43:00 -07:00 |
|
|
adf6c1e9dd
|
Merge pull request 'features/module-name' (#14) from features/module-name into main
Reviewed-on: #14
|
2024-04-05 17:55:06 -07:00 |
|
|
bfa28e07da
|
updated rest testing
|
2024-04-05 17:53:50 -07:00 |
|
|
fbd799c8ed
|
Added migrations on startup
|
2024-04-05 17:53:28 -07:00 |
|
|
3acf9ac542
|
packages cleaned up and then updated the module name so I can import it into other projects!
|
2024-04-05 17:51:58 -07:00 |
|
|
8dd80e4806
|
even more module updates!
|
2024-04-05 17:51:21 -07:00 |
|
|
935f8f5003
|
more module name updates
|
2024-04-05 17:51:02 -07:00 |
|
|
4e4fee53bf
|
module updates
|
2024-04-05 17:50:29 -07:00 |
|
|
671ee21355
|
Starting API unit tests!.... yay
|
2024-04-05 17:50:04 -07:00 |
|
|
fc0140e5a4
|
this request should have had the full username, and not just name...
|
2024-04-05 17:49:47 -07:00 |
|
|
d2aa1b99ce
|
the env will now let you define if the migrations should run on startup
|
2024-04-05 17:49:30 -07:00 |
|
|
0c7c4d311e
|
Merge pull request 'features/working-on-scopes' (#13) from features/working-on-scopes into main
Reviewed-on: #13
|
2024-04-04 15:31:53 -07:00 |
|
|
e0a517a765
|
Added the example on how to remove a scope from someone
|
2024-04-04 15:31:23 -07:00 |
|
|
69fb7a683b
|
updated how it looks to see what scopes to add
|
2024-04-04 15:30:59 -07:00 |
|
|
8f0e8e4d85
|
added remove scopes to the handler
|
2024-04-04 15:30:38 -07:00 |
|
|
9bc36bae7f
|
if the admin token is null then it will fail an admin login. Also added the remove scopes logic and it worked for me
|
2024-04-04 15:30:22 -07:00 |
|
|
8a43c166a8
|
Renamed struct to update a users scopes
|
2024-04-04 15:29:39 -07:00 |
|
|
2e0596c924
|
rest test file has been updated
|
2024-04-03 16:12:34 -07:00 |
|
|
7dc072e849
|
scopes/add now requires jwt and minor ez response methods
|
2024-04-03 16:12:18 -07:00 |
|
|
02c6f4aae7
|
admin jwt now follows the same schema
|
2024-04-03 16:11:46 -07:00 |
|
|
f159582d34
|
user repo now adds a default scope on create and scopes can be replaced for a user
|
2024-04-03 16:11:00 -07:00 |
|
|
f67ed03c9d
|
add and remove scopes methods to user service
|
2024-04-03 16:10:25 -07:00 |
|
|
29f6dc0bb0
|
minor domain updates
|
2024-04-03 16:09:31 -07:00 |
|
|
d9625e0b7d
|
updated how the err response should look to follow a pattern
|
2024-04-02 16:30:14 -07:00 |
|
|
373f7da678
|
auth now uses UrlFormEncoded like it should
|
2024-04-01 17:50:07 -07:00 |
|
|
c071212df5
|
when a user is made, the default scope is now defined
|
2024-04-01 17:48:54 -07:00 |
|
|
b3ee4e420b
|
found a bug that would let the same username get used over and over
|
2024-04-01 17:48:38 -07:00 |
|
|
f591dadd3b
|
adminToken validation now has its own method
|
2024-03-31 18:10:53 -07:00 |
|
|
593ce11c6b
|
moved jwt things to its own file
|
2024-03-31 18:09:24 -07:00 |
|
|
615f1184ab
|
if a user provides the env admin token, a token will generate with god permissions
|
2024-03-31 18:05:33 -07:00 |
|