Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable users to fetch their profile data using authentication through keycloak #184

Closed
Tracked by #652
tschaffter opened this issue May 17, 2022 · 4 comments
Closed
Tracked by #652
Assignees
Labels
iam Identity and access management java/spring

Comments

@tschaffter
Copy link
Member

Follows #126

@tschaffter tschaffter self-assigned this May 17, 2022
@tschaffter tschaffter added the iam Identity and access management label May 19, 2022
@tschaffter
Copy link
Member Author

This TS client could be used to retrieve user data from KC.

@tschaffter tschaffter added this to the Challenge Registry API milestone May 27, 2022
@tschaffter
Copy link
Member Author

tschaffter commented May 29, 2022

Generate Challenge User Service

image

https://start.spring.io/#!type=maven-project&language=java&platformVersion=2.7.0&packaging=jar&jvmVersion=17&groupId=org.sagebionetworks.challenge&artifactId=challenge-user-service&name=challenge-user-service&description=&packageName=org.sagebionetworks.challenge&dependencies=cloud-eureka,actuator,web

Generate the project before importing the project files generated with Spring Initializr.

$ nx g @nxrocks/nx-spring-boot:new challenge-user-service
✔ What kind of project are you generating? · application
✔ Which build system would you like to use? · maven-project
✔ Which packaging would you like to use? · jar
✔ Which version of Java would you like to use? · 17
✔ Which language would you like to use? · java
✔ What groupId would you like to use? · org.sagebionetworks.challenge
✔ What artifactId would you like to use? · challenge-user-service
✔ What package name would you like to use? · org.sagebionetworks.challenge
✔ What is the project about? · 
✔ What dependencies would you like to use (comma separated)?
👉 Go to https://start.spring.io/dependencies to get the ids needed here · 
Downloading Spring Boot project zip from : https://start.spring.io/starter.zip?type=maven-project&language=java&name=challenge-user-service&groupId=org.sagebionetworks.challenge&artifactId=challenge-user-service&packageName=org.sagebionetworks.challenge&javaVersion=17&packaging=jar...
Extracting Spring Boot project zip to '/workspaces/challenge-registry/apps/challenge-user-service'...
CREATE apps/challenge-user-service/project.json
UPDATE workspace.json
CREATE apps/challenge-user-service/.mvn/wrapper/maven-wrapper.jar
CREATE apps/challenge-user-service/.mvn/wrapper/maven-wrapper.properties
CREATE apps/challenge-user-service/src/test/java/org/sagebionetworks/challenge/ChallengeUserServiceApplicationTests.java
CREATE apps/challenge-user-service/src/main/java/org/sagebionetworks/challenge/ChallengeUserServiceApplication.java
CREATE apps/challenge-user-service/src/main/resources/application.properties
CREATE apps/challenge-user-service/mvnw.cmd
CREATE apps/challenge-user-service/HELP.md
CREATE apps/challenge-user-service/.gitignore
CREATE apps/challenge-user-service/mvnw
CREATE apps/challenge-user-service/pom.xml

@tschaffter
Copy link
Member Author

Replaced by #224

tschaffter pushed a commit to tschaffter/sage-monorepo that referenced this issue Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iam Identity and access management java/spring
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant