mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-02-03 13:11:48 +02:00
59a3eeb56d
Closes #4421 I chose to keep `getProfileID` as `getProfileIDLegacy` and use it as a fallback if `getProfileSub` fails because of permission scope. In this way, it's not a breaking change because one that has only a deprecated permissions such as `r_liteprofile` will still be able to hit `v2/me` this logic is encapsulated in the new function `getProfileURN`, that resolves the user identifier and returns it formatted as a URN --------- Co-authored-by: Gabriel F Cipriano <gabriel.cipriano@farme.com.br>