title: Could not resolve placeholder 'spring.security.oauth2.client.provider.oidc.issuer-uri and Error creating bean with name 'securityConfiguration'
body: <p>I created a new jhipster monolothic application, and it works fine. But when I try jhipster with okta it fails and I get error messages. With okta I cannot start jhipster on a default scaffold.</p>
  
  <p>I feel like I have tried hard to get this problem resolved and have not found a solution. I tried it under java 8, 11 and 12 and still had the same issue. I checked over my okta and application configs pretty well. Please advise me of common or potential resolution if possible. I tried overriding the configs and everything.</p>
  
  <p>bflew</p>
  
  <blockquote>
    <p>org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityConfiguration': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'spring.security.oauth2.client.provider.oidc.issuer-uri' in value "${spring.security.oauth2.client.provider.oidc.issuer-uri}"</p>
    
    <p>Expected result shoul be okta running with jhipster application. There is no scaffold system with jhipster currently for orka.</p>
  </blockquote>
  
  <p>Hey, I do have this added and it still doesnt work  spring:</p>
  
  <pre><code>application:
     name: ServerBirdTheatre
   profiles:
     # The commented value for `active` can be replaced with valid Spring profiles to load.
     # Otherwise, it will be filled in by maven when building the JAR file
     # Either way, it can be overridden by `--spring.profiles.active` value passed in the commandline or `-Dspring.profiles.active` set in `JAVA_OPTS`
     active: #spring.profiles.active#
   jmx:
     enabled: false
   data:
     jpa:
       repositories:
         bootstrap-mode: deferred
   jpa:
     open-in-view: false
     properties:
       hibernate.jdbc.time_zone: UTC
     hibernate:
       ddl-auto: none
       naming:
         physical-strategy: org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
         implicit-strategy: org.springframework.boot.orm.jpa.hibernate.SpringImplicitNamingStrategy
   messages:
     basename: i18n/messages
   main:
     allow-bean-definition-overriding: true
   mvc:
     favicon:
       enabled: false
   task:
     execution:
       thread-name-prefix: server-bird-theatre-task-
       pool:
         core-size: 2
         max-size: 50
         queue-capacity: 10000
     scheduling:
       thread-name-prefix: server-bird-theatre-scheduling-
       pool:
         size: 2
   thymeleaf:
     mode: HTML
  security:
   oauth2:
     client:
       provider:
         oidc:
           issuer-uri: https://***.okta.com/oauth2/default
       registration:
         oidc:
           client-id: ***
           client-secret: *** ```
  I changed the key so i didnt broadcast it publicly, but that is the config and it throws the error.
  </code></pre>