features/working-on-scopes #13
jtom38
commented 2024-04-03 16:12:57 -07:00
Owner
No description provided.
jtom38
added 23 commits 2024-04-03 16:12:58 -07:00
moved models into domain
3487feed5c
Added a config service
09235760d2
refactored for domain
6af8a2a0cd
added config service on startup
0d253270b7
Added Scopes to the user table
e0253f04e7
domain update
7360d429ff
ignoring all .env files
538ff69c00
added config to the Handler and trying out a standard payload return for unauthorized
0d90db89e5
mostly pushing things into domain
ec24600269
mostly reworking how the JWT is processed
8f10fbfba1
if a user provides the env admin token, a token will generate with god permissions
615f1184ab
moved jwt things to its own file
593ce11c6b
adminToken validation now has its own method
f591dadd3b
found a bug that would let the same username get used over and over
b3ee4e420b
when a user is made, the default scope is now defined
c071212df5
auth now uses UrlFormEncoded like it should
373f7da678
updated how the err response should look to follow a pattern
d9625e0b7d
minor domain updates
29f6dc0bb0
add and remove scopes methods to user service
f67ed03c9d
user repo now adds a default scope on create and scopes can be replaced for a user
f159582d34
admin jwt now follows the same schema
02c6f4aae7
scopes/add now requires jwt and minor ez response methods
7dc072e849
rest test file has been updated
2e0596c924
jtom38
added 5 commits 2024-04-04 15:31:30 -07:00
Renamed struct to update a users scopes
8a43c166a8
if the admin token is null then it will fail an admin login. Also added the remove scopes logic and it worked for me
9bc36bae7f
added remove scopes to the handler
8f0e8e4d85
updated how it looks to see what scopes to add
69fb7a683b
Added the example on how to remove a scope from someone
e0a517a765
jtom38
merged commit 0c7c4d311e into main 2024-04-04 15:31:54 -07:00
jtom38
deleted branch features/working-on-scopes 2024-04-04 15:31:54 -07:00
jtom38
referenced this issue from a commit 2024-04-04 15:31:55 -07:00
Merge pull request 'features/working-on-scopes' (#13) from features/working-on-scopes into main
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "features/working-on-scopes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?