asp.net identity - Azure Mobile Apps offline WEBSITE_AUTH_SIGNING_KEY -


when trying azure mobile apps offline (in visual studio , local iis ssl), 1 has supply alternative azure's website_auth_signing_key signingkey jwt tokens.

how can generate dev signingkey?

in order test authenticated endpoints locally need use same signing key used generate auth token (jwt).

if logging in against cloud site, means locally must validate token using same signing key. can find going https://{yoursite}.scm.azurewebsites.net/env , searching website_auth_signing_key. note should not hard-code key in code ship (for example, read value config file used testing).

for creating own key -- need use sha256 hash signing key. typically use http://www.xorbin.com/tools/sha256-hash-calculator generating them.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -