mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-28 02:18:50 +00:00
* Remove JWT to be an opaque token and update variable names accordingly * Use new `actor_name` param from the portal instead of user info from old JWT * Log attempted portal URL from connlib * Remove account slug/id from portal_url before sending to connlib @roop The token from the portal is a Phoenix.Token, not a valid JWT, so this was causing a JWTDecodeError. Discussed with @AndrewDryga and concluded this should be an opaque token. Expiry and other invalid token scenarios will be bubbled up from connlib via an `onError` callback (or perhaps a dedicated `onTokenInvalid` callback). For now connlib doesn't handle this specifically.