spring:
security:
oauth2:
client:
registration:
github:
clientId: github-client-id
clientSecret: github-client-secret
This process grants an access token to the application, and a corresponding cooke named JSESSIONID
will be stored by the browser.
Rendering conditionally based on authentication state may be done either client-side or server-side. HTML elements with the class container authenticated
will only render when a user has a valid authentication token (while container unauthenticated
is used to exclude elements in this case)