-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca04e4f
commit b62b1a7
Showing
5 changed files
with
19 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
...ava/com/alura/aluraflixapi/infraestructure/exception/JwtRefreshTokenExpiredException.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package com.alura.aluraflixapi.infraestructure.exception; | ||
|
||
public class JwtRefreshTokenExpiredException extends RuntimeException { | ||
public JwtRefreshTokenExpiredException(String message) { | ||
super(message); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,13 +11,13 @@ spring: | |
mongodb: | ||
database: alura-flix | ||
# always commit the uri like this: ${DATABASE_PRO} | ||
uri: ${DATABASE_PRO} | ||
uri: ${DATABASE_PRO:mongodb+srv://alura-flix-admin:1DXxIsejY5RENHAU@alura-flix.z61opfc.mongodb.net/?retryWrites=true&w=majority} | ||
Check failure Code scanning / SonarCloud MongoDB database passwords should not be disclosed High
Make sure this MongoDB database password gets changed and removed from the code. See more on SonarQube Cloud
|
||
|
||
api: | ||
security: | ||
api-issuer: alura-flix-api | ||
# always commit the uri like this: ${JWT_SECRET} | ||
token-jwt-secret: ${JWT_SECRET} | ||
token-jwt-secret: ${JWT_SECRET:1234} | ||
|
||
springdoc: | ||
swagger-ui: | ||
|