marinosoftware / devicechecksample Goto Github PK
View Code? Open in Web Editor NEWA complete DeviceCheck sample app and server
License: MIT License
A complete DeviceCheck sample app and server
License: MIT License
Hi,
I've followed your article but can't get it work. Please see below error when trying to query two bits. I can't find a error even issnode log doesn't say nothing.
<title>Error</title>Cannot POST /ztest.js/query_two_bits
Hi there, I'm tired of getting this.I use your code and upload in Heroku and using development Apple URL can you help me in this
Thanks for your time.
When using Apple's development devicecheck server it's returning a status code 400 "Missing or badly formatted authorization token".
Workaround:
Use the production server.
Change line 26 in sampleServer.js from:
var production = false;
to:
var production = true;
The printout of the server is :
Updating two bits to:
bit0: false
bit1: true
{ date: 'Mon, 30 Oct 2017 20:51:39 GMT',
'x-apple-request-uuid': 'eea58795-3b9e-1bca-ab77-5faca16719cd',
'x-apple-jingle-correlation-key': '52SYPFJ3TYN4VK3XL6WKCZYZZU',
'apple-seq': '0',
'apple-tk': 'false',
'x-responding-instance': '20107',
'content-type': 'text/plain; charset=UTF-8',
'content-length': '36' }
statusCode: 401
Unable to verify authorization token
The Key, Teamid, and cert is good. will that be the JWT is not signed correctly?
Thanks!
@mbehan @timcolla
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.