<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.fr.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>27 Oct 2022 09:28:17 Z</lastBuildDate><pubDate>9 Mar 2021 18:50:48 Z</pubDate><description>Bonjour,&#13;
&#13;
Je cherche a utiliser l'API de apple mais je n'arrive pas à générer la bonne signature.&#13;
&#13;
Voici mon code :&#13;
&#13;
[code:wl]&#13;
sHeader			est une chaîne	=[&#13;
{&#13;
"alg": "ES256",&#13;
"kid": "XXXXXXXXX",&#13;
"typ": "JWT"&#13;
}&#13;
]&#13;
&#13;
sPayload		est une chaîne	=[&#13;
{&#13;
"iss": "XXXXXX-XXXXXXXX-XXXX-XXXXXXXX",&#13;
"exp": 1615315380,&#13;
"aud": "appstoreconnect-v1"&#13;
}&#13;
]&#13;
&#13;
Private_Key est une chaîne=[&#13;
-----BEGIN PRIVATE KEY-----&#13;
XXXXXXXXXXXXX&#13;
-----END PRIVATE KEY-----&#13;
]&#13;
&#13;
sHeaderEncode	est une chaîne	= Replace(Encode(sHeader, encodeBASE64URL),"=","")&#13;
sPayloadEncode	est une chaîne	= Replace(Encode(sPayload, encodeBASE64URL),"=","")&#13;
&#13;
sSignature		est une chaîne	= Replace(Encode(HashChaîne(HA_HMAC_SHA_256, sHeaderEncode + "." + sPayloadEncode,Private_Key), encodeBASE64URL),"=","")&#13;
&#13;
sTokenFinal		est une chaîne	= sHeaderEncode + "." + sPayloadEncode + "." + sSignature&#13;
&#13;
[/code]&#13;
&#13;
Merci d'avance pour votre aide.&#13;
&#13;
Cordialement.</description><ttl>30</ttl><generator>WEBDEV</generator><language>fr_FR</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc/read.awp</link><title>Jetons JSON Web Token (JWT - RFC 7519)</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>marc</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-260570/read.awp</comments><pubDate>27 Oct 2022 09:28:17 Z</pubDate><description>Bonjour,&#13;
&#13;
Je suis dans le même cas et je me souhaiterais savoir si l'un d'entre vous aurait avancé sur le sujet.&#13;
&#13;
J'ai trouv…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-260570/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-260570/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc/read.awp">Jetons JSON Web Token (JWT - RFC 7519)</source><title>Re: Jetons JSON Web Token (JWT - RFC 7519)</title></item><item><author>alexandre.tieres</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-248039/read.awp</comments><pubDate>22 Mar 2021 12:20:57 Z</pubDate><description>Bonjour,&#13;
&#13;
Merci pour ton retour.&#13;
&#13;
L'objectif est de pouvoir récupérer des statistiques d'une application déployée sur l'Appl…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-248039/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-248039/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc/read.awp">Jetons JSON Web Token (JWT - RFC 7519)</source><title>Re: Jetons JSON Web Token (JWT - RFC 7519)</title></item><item><author>Popoy</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-247657/read.awp</comments><pubDate>10 Mar 2021 12:06:29 Z</pubDate><description>Je ne sais pas si ça peut aider&#13;
https://developer.apple.com/documentation/sign_in_with_apple/generate_and_validate_tokens&#13;
&#13;
ht…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-247657/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-247657/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc/read.awp">Jetons JSON Web Token (JWT - RFC 7519)</source><title>Re: Jetons JSON Web Token (JWT - RFC 7519)</title></item><item><author>roumegou</author><category>pcsoft.fr.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-247654/read.awp</comments><pubDate>10 Mar 2021 10:34:19 Z</pubDate><description>&gt; Bonjour,&#13;
&gt;&#13;
&gt; Je cherche a utiliser l'API de apple mais je n'arrive pas à générer la bonne &#13;
&gt; signature.&#13;
&gt;&#13;
&gt; Voici mon cod…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-247654/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc-247654/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.fr.windev/247649-jetons-json-web-token-jwt-rfc/read.awp">Jetons JSON Web Token (JWT - RFC 7519)</source><title>Re: Jetons JSON Web Token (JWT - RFC 7519)</title></item></channel></rss>
