Added Azure redirect URI in properties and dynamic backend URL in frontend configuration
This commit is contained in:
parent
2b83bfe956
commit
e7ba98bdd7
3 changed files with 3 additions and 1 deletions
1
pom.xml
1
pom.xml
|
|
@ -162,6 +162,7 @@
|
||||||
<artifactId>flyway-mysql</artifactId>
|
<artifactId>flyway-mysql</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<dependencyManagement>
|
<dependencyManagement>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
export const config = {
|
export const config = {
|
||||||
backendUrl: 'http://localhost:8080/api'
|
backendUrl: import.meta.env.VITE_BACKEND_URL || '/api'
|
||||||
}
|
}
|
||||||
|
|
@ -16,6 +16,7 @@ spring.cloud.azure.active-directory.profile.tenant-id=${AZURE_TENANT_ID}
|
||||||
spring.cloud.azure.active-directory.credential.client-id=${AZURE_CLIENT_ID}
|
spring.cloud.azure.active-directory.credential.client-id=${AZURE_CLIENT_ID}
|
||||||
spring.cloud.azure.active-directory.credential.client-secret=${AZURE_CLIENT_SECRET}
|
spring.cloud.azure.active-directory.credential.client-secret=${AZURE_CLIENT_SECRET}
|
||||||
spring.cloud.azure.active-directory.authorization-clients.graph.scopes=openid,profile,email,https://graph.microsoft.com/User.Read
|
spring.cloud.azure.active-directory.authorization-clients.graph.scopes=openid,profile,email,https://graph.microsoft.com/User.Read
|
||||||
|
spring.security.oauth2.client.registration.azure.redirect-uri=${LCC_BASE_URL}/login/oauth2/code/azure
|
||||||
jwt.secret=${JWT_SECRET}
|
jwt.secret=${JWT_SECRET}
|
||||||
management.endpoints.web.exposure.include=health,info,metrics
|
management.endpoints.web.exposure.include=health,info,metrics
|
||||||
management.endpoint.health.show-details=always
|
management.endpoint.health.show-details=always
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue