Append access key to url for incoming requests.

angular's Avatar

angular

28 Nov, 2019 10:28 PM

Hi,

I am trying to get my copy of this project up and running on AppHarbor

https://github.com/jpsingleton/Huxley/wiki/Hosting-Quick-Start

I have successfully deployed my application and when I navigate to the url I can see it. I now need to add an access key to each incoming request so the request goes from.

http://myapp.apphb.com/foo/bar

to

http://myapp.apphb.com/foo/bar?accesstoken=123

How do I achieve this? I have tried creating a configuration variable but that did not help.

Thanks in advance.

  1. Support Staff 1 Posted by rune on 11 Dec, 2019 06:11 AM

    rune's Avatar

    Hi,

    Sound like you might be able to use configuration variables/appsettings to configure the actual value of the expected accesstoken parameter, but there are many ways in which this can be implemented and the best approach depends entirely on your use case. Doing something like this is definitely possible on the platform though, albeit not built-in in any way!

    Best,
    Rune

  2. rune closed this discussion on 11 Dec, 2019 06:11 AM.

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac