简体   繁体   中英

Azure function app and web app authentication

Is there any way Azure provides to authentication and maintain a session of the user in data base (azure mysql db), across azure web app and the function app ?

For example, I need some central authorisation server which would generate token for the logged in user of the web application , and the same token can be used to authenticate / authorise the function request ( function app).

Token is a kind of think that is supposed to be used during a particular session, so it has a expiration time. Saving it in some store ( Blob Storage etc) will lead to security issue. If you wanted to if you want to use the authentication with Function app then you can do it in same as Web app do ie using OAuth feature from portal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM