You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-12Lines changed: 29 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,20 @@
1
1
# build and test notes
2
-
Build a spring boot oauth server with postgresql db.
2
+
Build a spring boot oauth server with mariadb or postgresql db.
3
3
4
-
There is a bug in spring-security-oauth2-authorization-server v0.2.3 (or it's dependency) to connect mysql. not sure that is it fixed in later version.
-[postgresql/script/init-db.sh](postgresql/script/init-db.sh), for container env initialize.
5
7
6
-
## docker ide
7
-
linux container
8
+
## develop and running app
9
+
defualt `application.properties` connect to mariadb; if you run on dev container / gitpod, replace all datasource config in every `application.properties`
8
10
9
-
$> docker-composer up -d # create env
10
-
$> docker-composer start # rerun env
11
-
$> docker-composer stop # stop env
12
-
$> docker-composer down # delete env
13
-
14
-
visit localhost:9000 for IDE interface, login password "admin"
running ssoclient (it is a client server, with server side authentication) at ***127.0.0.1:8080*** . because of redirect-uri in db is marked as 127.0.0.1, it cannot change to localhost. it will input username:password at localhost:8081/auth, and check role through localhost:8082/res
0 commit comments