-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Vapor 4 implementation #58
Comments
Hey @kevinrmblr - this is great! I will link to it from the In regards to auth - the auth call in the iOS app can submit data as required. The protocol Any yea, it submits in the same way as you've described. Please see see |
Hi there, thanks for the info. As far as I can see, it can either post a body with a key of either:'receipt' or 'token'. The former would be a push token and the latter a DeviceID token. Would you be up for adding a |
It’s loosely defined because I think there’s still scope for this to change somewhat. Realistically the publisher or the app and server will customise this as necessary. Perhaps the prebuilt Auth modules can include a strategy field rather than requiring it. I think that’s worthwhile doing, especially to help debug/setup the app and server. |
@kevinrmblr I've added a See 0a43678 |
Hi @HendX, thanks! I see there's an identifier |
Hi there!
I've been working on a server reference implementation based in the Swagger file. I'd love your help with testing and keeping it compatible moving forward.
It can be found here: https://github.com/kevinrmblr/traceprivately-server
There's some open ends, such as limits on updating daily keys and updating the related data, but mostly it should be ready:
I also left room to submit data in the
auth
call, so a token can be added, like a PushToken or a DeviceId token. Depending on the app setup, it'll either require this or also accept an empty body (which is currently the default to be compatible with the iOS app), an auth body could look like this:Let me know your thoughts!
The text was updated successfully, but these errors were encountered: