All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sso-client-gateway-sample.1.0.60.source-code.application.yml Maven / Gradle / Ivy

spring:
  security:
    oauth2:
      shostname: http://sso.hocgin.local:20000
      client:
        registration:
          custom:
            client-id: client_example
            client-secret: hocgin
            redirect-uri: '{baseUrl}/{action}/oauth2/code/{registrationId}'
            authorization-grant-type: authorization_code
        provider:
          custom:
            user-info-uri: ${spring.security.oauth2.shostname}/oauth/user
            authorization-uri: ${spring.security.oauth2.shostname}/oauth/authorize
            token-uri: ${spring.security.oauth2.shostname}/oauth/token
            user-name-attribute: name

boot:
  sso:
    client:
      ignore-urls:
        - '/ignore'
      has-any-role:
        '[/has_role]':
          - 'ROLE_HAS'
          - 'HAS'
        '[/no_role]':
          - 'ROLE_NO'
          - 'NO'




© 2015 - 2024 Weber Informatics LLC | Privacy Policy