* ADD JWT authentication support with token generation and validation * ADD JWT handling after successful login * ADD user authentication and standardize user retrieval * COMBINE token dtos * ADD JWT authentication filter * IMPROVE token handling * STANDARDIZE API endpoints and improve JWT handling * REMOVE extra logging * REMOVE redundant job existence checks * UPDATE Bruno Google token * REFACTOR some classes * ADD JWT cookie check * ADD AuthProvider and CORS configuration; UPDATE API endpoints for consistency * ADD JWT validation check; * ADD profile picture to database * ADD reload after login to update page * PATCH login issue * REMOVE unused classes * ADJUST logging in JwtFilter * REMOVE unused React component
31 lines
618 B
Plaintext
31 lines
618 B
Plaintext
meta {
|
|
name: Get Google Token
|
|
type: http
|
|
seq: 3
|
|
}
|
|
|
|
get {
|
|
url:
|
|
body: none
|
|
auth: oauth2
|
|
}
|
|
|
|
auth:oauth2 {
|
|
grant_type: authorization_code
|
|
callback_url: http://localhost:8080
|
|
authorization_url: https://accounts.google.com/o/oauth2/v2/auth
|
|
access_token_url: https://oauth2.googleapis.com/token
|
|
refresh_token_url:
|
|
client_id: {{google_client_id}}
|
|
client_secret: {{google_secret}}
|
|
scope: profile email
|
|
state:
|
|
pkce: false
|
|
credentials_placement: body
|
|
credentials_id: credentials
|
|
token_placement: header
|
|
token_header_prefix: Bearer
|
|
auto_fetch_token: true
|
|
auto_refresh_token: false
|
|
}
|