Closed juliensadaoui closed 2 years ago
Adding bug bounty. Thanks for adding this!
I have tested the registry with several IDP providers (Keycloak, Okta, Auth0) connected to it and it works fine.
I tested this with Auth0 tonight and can confirm it works.
I think it'd be good to add a section on how to run the registry with oauth2 for local development.
I've been using the following:
SPRING_PROFILES_ACTIVE=dev,oauth2,native,swagger ./mvnw
It seems like this might be a bit dated.
We don't need to define the swagger spring profile. We use the spring.profiles.group property in our application.yml to define a group, it's a new feature in Spring Boot 2.4.
spring:
profiles:
active: #spring.profiles.active#
group:
dev:
- dev
- api-docs
Please note that the swagger profile is replaced by api-docs
let's merge this thanks for the work @juliensadaoui and thanks for the review @mraible
Bounty claimed at https://opencollective.com/generator-jhipster/expenses/65060
@juliensadaoui : approved
related to #511
Please make sure the below checklist is followed for Pull Requests.
[x] Github Actions tests are green
[x] Tests are added where necessary
[x] Documentation is added/updated where necessary
[x] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed
[x] Build Docker is OK
[x] Check if the JWT authentication works
[x] Check if the OAuth2 authentication works (Keycloak, Okta, Auth0)
[x] Check if the registry works with microservices and gateways