Skip to content

Commit

Permalink
Synced application.yml for local development
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Nov 15, 2023
1 parent b942cc7 commit c227114
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions oidc-playground-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"react-tooltip": "^3.10.0"
},
"scripts": {
"start": "PORT=3006 react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
"why DANGEROUSLY_DISABLE_HOST_CHECK": "https://stackoverflow.com/questions/70374005/invalid-options-object-dev-server-has-been-initialized-using-an-options-object",
"start": "DANGEROUSLY_DISABLE_HOST_CHECK=true PORT=3006 react-scripts start",
"build": "DANGEROUSLY_DISABLE_HOST_CHECK=true react-scripts build",
"test": "DANGEROUSLY_DISABLE_HOST_CHECK=true react-scripts test"
},
"eslintConfig": {
"extends": "react-app"
Expand Down
6 changes: 3 additions & 3 deletions oidc-playground-client/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3309,9 +3309,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001093, caniuse-lite@^1.0.30001400, caniuse-lite@^1.0.30001426:
version "1.0.30001436"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001436.tgz#22d7cbdbbbb60cdc4ca1030ccd6dea9f5de4848b"
integrity sha512-ZmWkKsnC2ifEPoWUvSAIGyOYwT+keAaaWPHiQ9DfMqS1t6tfuyFYoWR78TeZtznkEQ64+vGXH9cZrElwR2Mrxg==
version "1.0.30001562"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001562.tgz"
integrity sha512-kfte3Hym//51EdX4239i+Rmp20EsLIYGdPkERegTgU19hQWCRhsRFGKHTliUlsry53tv17K7n077Kqa0WJU4ng==

case-sensitive-paths-webpack-plugin@^2.4.0:
version "2.4.0"
Expand Down
6 changes: 3 additions & 3 deletions oidc-playground-server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ server:
max-http-form-post-size: 10000000

oidc:
# discovery_endpoint: "https://connect.test2.surfconext.nl/oidc/.well-known/openid-configuration"
discovery_endpoint: "https://connect.test2.surfconext.nl/oidc/.well-known/openid-configuration"
# Use this when you want to test against a local instance of OIDC-NG
discovery_endpoint: "http://localhost:8080/oidc/.well-known/openid-configuration"
# discovery_endpoint: "http://localhost:8080/oidc/.well-known/openid-configuration"
client_id: "playground_client"
secret: "secret"
jwt_secret: "very-long-long-long-long-long-secret"
resource_server_id: "resource-server-playground-client"
resource_server_secret: "secret"
resource_server_secret: "l36VaA1YXR9gG7Pw9POuiQ60h1rU3IhfT5kC"
redirect_uri: "http://localhost:3006/redirect"
redirect_uri_form_post: "http://localhost:3006/oidc/api/redirect"
client_redirect_uri: "http://localhost:3006/redirect"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public abstract class AbstractIntegrationTest implements URLSupport {
protected ACR acr;

@Before
public void before() throws IOException {
public void before() {
RestAssured.port = port;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

public class OidcTest extends AbstractIntegrationTest {

private TypeRef<Map<String, Object>> mapTypeRef = new TypeRef<Map<String, Object>>() {
private final TypeRef<Map<String, Object>> mapTypeRef = new TypeRef<>() {
};

@Rule
Expand Down

0 comments on commit c227114

Please sign in to comment.