sys1yagi / spring-boot-oauth-sample

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

spring-boot-oauth-sample

Setup

Rename config file

src/main/resources/application-default.yml.tmp

to

src/main/resources/application-default.yml

Set client id and secret

set google-app-client-id and google-app-client-secret see more https://developers.google.com/identity/protocols/oauth2

spring:
  security:
    oauth2:
      client:
        registration:
          google:
            clientId: $google-app-client-id
            clientSecret: $google-app-client-secret

About

License:MIT License


Languages

Language:Kotlin 66.9%Language:HTML 33.1%