How to use Oauth in the application.properties file?

Asked

Viewed 35 times

1

I had an application.yml file using Oauth as follows:

oauth:
  enabled: true
  all-in-one: true

But now I need to use the application.properties file and the structure is different. I thought it was just like this:

  oauth.enabled= true
  oauth.all-in-one= true

But it doesn’t work. I wondered how to leave what is in the application.yml file in the application.properties file structure.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.