Implementing what is described in Google's OAuth 2.0 for Server to Server Applications, Forming the JWT claim set.
get_auth_bearer is only public method, will handle generating and refreshing token.
Depends on D12753
Differential D12754
[Tunnelbroker] implement OAuth 2.0 JWT token encoding kamil on Jul 15 2024, 9:35 AM. Authored by Tags None Referenced Files
Details Implementing what is described in Google's OAuth 2.0 for Server to Server Applications, Forming the JWT claim set. get_auth_bearer is only public method, will handle generating and refreshing token. Depends on D12753 Call get_jwt_token and test if returns the correct JWT token in the format {Base64url encoded header}.{Base64url encoded claim set} Later in the stack this token is used to make an HTTP call to get an access token for the FCM push service.
Diff Detail
Event Timeline
|